]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed test from test_import. It will never work on all systems, see #1377
authorChristian Heimes <christian@cheimes.de>
Thu, 20 Dec 2007 13:16:07 +0000 (13:16 +0000)
committerChristian Heimes <christian@cheimes.de>
Thu, 20 Dec 2007 13:16:07 +0000 (13:16 +0000)
Lib/test/test_import.py

index ffde13602a963c662644e22ee4d73c05a21cf7dd..cb4059adab51a33922f40761c7d98bc69b9a51fc 100644 (file)
@@ -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')