| LEFT | RIGHT |
| 1 # Test some Unicode file name semantics | 1 # Test some Unicode file name semantics |
| 2 # We dont test many operations on files other than | 2 # We dont test many operations on files other than |
| 3 # that their names can be used with Unicode characters. | 3 # that their names can be used with Unicode characters. |
| 4 import os, glob, time, shutil | 4 import os, glob, time, shutil |
| 5 import unicodedata | 5 import unicodedata |
| 6 | 6 |
| 7 import unittest | 7 import unittest |
| 8 from test.support import run_unittest, TestSkipped, TESTFN_UNICODE | 8 from test.support import run_unittest, TestSkipped, TESTFN_UNICODE |
| 9 from test.support import TESTFN_ENCODING, TESTFN_UNICODE_UNENCODEABLE | 9 from test.support import TESTFN_ENCODING, TESTFN_UNICODE_UNENCODEABLE |
| 10 try: | 10 try: |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 if TESTFN_UNICODE_UNENCODEABLE is not None: | 159 if TESTFN_UNICODE_UNENCODEABLE is not None: |
| 160 self._do_directory(TESTFN_UNICODE_UNENCODEABLE+ext, | 160 self._do_directory(TESTFN_UNICODE_UNENCODEABLE+ext, |
| 161 TESTFN_UNICODE_UNENCODEABLE+ext, | 161 TESTFN_UNICODE_UNENCODEABLE+ext, |
| 162 False) | 162 False) |
| 163 | 163 |
| 164 def test_main(): | 164 def test_main(): |
| 165 run_unittest(__name__) | 165 run_unittest(__name__) |
| 166 | 166 |
| 167 if __name__ == "__main__": | 167 if __name__ == "__main__": |
| 168 test_main() | 168 test_main() |
| LEFT | RIGHT |