diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-01 22:37:07 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-01 22:37:07 (GMT) |
commit | 204093ac0710be2f4de868a918d436cf13334570 (patch) | |
tree | 70a6bc77c02f2a37a1d5afb7a3f5b2fee56f0393 /Lib/test | |
parent | 568065e9d152ed495775a767968a8749fe78a75c (diff) | |
download | cpython-204093ac0710be2f4de868a918d436cf13334570.zip cpython-204093ac0710be2f4de868a918d436cf13334570.tar.gz cpython-204093ac0710be2f4de868a918d436cf13334570.tar.bz2 |
Removed non ASCII text from test as requested by Guido.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_import.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index bb56072..efae24d 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -158,8 +158,9 @@ class ImportTest(unittest.TestCase): warnings.simplefilter('error', ImportWarning) self.assertRaises(ImportWarning, __import__, "site-packages") -class UnicodePathsTests(unittest.TestCase): - SAMPLES = ('test', 'testäöüß', 'testéè', 'test°³²') +class PathsTests(unittest.TestCase): + SAMPLES = ('test', 'test\u00e4\u00f6\u00fc\u00df', 'test\u00e9\u00e8', + 'test\u00b0\u00b3\u00b2') path = TESTFN def setUp(self): @@ -170,7 +171,7 @@ class UnicodePathsTests(unittest.TestCase): shutil.rmtree(self.path) sys.path = self.syspath - def test_sys_path(self): + def test_sys_path_with_unicode(self): for i, subpath in enumerate(self.SAMPLES): path = os.path.join(self.path, subpath) os.mkdir(path) @@ -198,7 +199,7 @@ class UnicodePathsTests(unittest.TestCase): unload("test_trailing_slash") def test_main(verbose=None): - run_unittest(ImportTest, UnicodePathsTests) + run_unittest(ImportTest, PathsTests) if __name__ == '__main__': test_main() |