summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-20 13:16:07 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-20 13:16:07 (GMT)
commita30be3031f1243caeca6b8606174dca330f1a5fa (patch)
treecf247d18bace61db4675c97f571901fefe955bbd
parent90aa7646affbaee9628ca6ea6a702aec17b3b550 (diff)
downloadcpython-a30be3031f1243caeca6b8606174dca330f1a5fa.zip
cpython-a30be3031f1243caeca6b8606174dca330f1a5fa.tar.gz
cpython-a30be3031f1243caeca6b8606174dca330f1a5fa.tar.bz2
Removed test from test_import. It will never work on all systems, see #1377
-rw-r--r--Lib/test/test_import.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index ffde136..cb4059a 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -173,23 +173,6 @@ class PathsTests(unittest.TestCase):
shutil.rmtree(self.path)
sys.path = self.syspath
- def XXX_test_sys_path_with_unicode(self):
- for i, subpath in enumerate(self.SAMPLES):
- path = os.path.join(self.path, subpath)
- os.mkdir(path)
- self.failUnless(os.path.exists(path), os.listdir(self.path))
- f = open(os.path.join(path, 'testimport%i.py' % i), 'w')
- f.write("testdata = 'unicode path %i'\n" % i)
- f.close()
- sys.path.append(path)
- try:
- mod = __import__("testimport%i" % i)
- except ImportError:
- print(path, file=sys.stderr)
- raise
- self.assertEqual(mod.testdata, 'unicode path %i' % i)
- unload("testimport%i" % i)
-
# http://bugs.python.org/issue1293
def test_trailing_slash(self):
f = open(os.path.join(self.path, 'test_trailing_slash.py'), 'w')