From a30be3031f1243caeca6b8606174dca330f1a5fa Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 20 Dec 2007 13:16:07 +0000 Subject: Removed test from test_import. It will never work on all systems, see #1377 --- Lib/test/test_import.py | 17 ----------------- 1 file changed, 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') -- cgit v0.12