Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Delta Between Two Patch Sets: Lib/test/test_unicode_file.py

Issue 3055: combined patches from http://bugs.python.org/issue3187 (Closed) SVN Base: http://svn.python.org/view/*checkout*/python/branches/py3k/
Left Patch Set: Number 3 from Victor Created 1 year, 1 month ago , Downloaded from: http://bugs.python.org/file11680/python3_bytes_filename-3.patch
Right Patch Set: One more tweak (fold some long lines) Created 1 year, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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
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()
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483