diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-01-18 20:29:55 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-01-18 20:29:55 (GMT) |
commit | 58eb11cf62dd04ccc2c364b62fd51b4265e2e203 (patch) | |
tree | 6b4639f640391b3d40332ee045dba325c63a920d /Lib/test/test_unicode_file.py | |
parent | 5303a968080bdb2690eaab89495ae51939fa6397 (diff) | |
download | cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.zip cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.gz cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_unicode_file.py')
-rw-r--r-- | Lib/test/test_unicode_file.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_unicode_file.py b/Lib/test/test_unicode_file.py index fbca88b..46a99f2 100644 --- a/Lib/test/test_unicode_file.py +++ b/Lib/test/test_unicode_file.py @@ -20,7 +20,7 @@ def remove_if_exists(filename): class TestUnicodeFiles(unittest.TestCase): # The 'do_' functions are the actual tests. They generally assume the # file already exists etc. - + # Do all the tests we can given only a single filename. The file should # exist. def _do_single(self, filename): @@ -39,7 +39,7 @@ class TestUnicodeFiles(unittest.TestCase): # basename should appear in listdir. path, base = os.path.split(os.path.abspath(filename)) self.failUnless(base in os.listdir(path)) - + # Do as many "equivalancy' tests as we can - ie, check that although we # have different types for the filename, they refer to the same file. def _do_equivilent(self, filename1, filename2): @@ -124,7 +124,7 @@ class TestUnicodeFiles(unittest.TestCase): self._do_single(filename) finally: os.unlink(filename) - + def _test_equivalent(self, filename1, filename2): remove_if_exists(filename1) self.failUnless(not os.path.exists(filename2)) |