[Python-3000-checkins] r59579 - python/branches/py3k/Lib/test/test_import.py

christian.heimes python-3000-checkins at python.org
Thu Dec 20 14:16:07 CET 2007


Author: christian.heimes
Date: Thu Dec 20 14:16:07 2007
New Revision: 59579

Modified:
   python/branches/py3k/Lib/test/test_import.py
Log:
Removed test from test_import. It will never work on all systems, see #1377

Modified: python/branches/py3k/Lib/test/test_import.py
==============================================================================
--- python/branches/py3k/Lib/test/test_import.py	(original)
+++ python/branches/py3k/Lib/test/test_import.py	Thu Dec 20 14:16:07 2007
@@ -173,23 +173,6 @@
         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')


More information about the Python-3000-checkins mailing list