Recent Issues
|
Sign in
with your
Google
Account to create issues and add comments
Delta Between Two Patch Sets: Lib/test/test_posix.py
Issue 3055:
combined patches from http://bugs.python.org/issue3187 (Closed)
Left Patch Set: More complete patch from Victor
Right Patch Set: One more tweak (fold some long lines)
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 | RIGHT |
| 1 "Test posix functions" | 1 "Test posix functions" |
| 2 | 2 |
| 3 from test import support | 3 from test import support |
| 4 | 4 |
| 5 try: | 5 try: |
| 6 import posix | 6 import posix |
| 7 except ImportError: | 7 except ImportError: |
| 8 raise support.TestSkipped("posix is not available") | 8 raise support.TestSkipped("posix is not available") |
| 9 | 9 |
| 10 import time | 10 import time |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 finally: | 251 finally: |
| 252 support.rmtree(base_path) | 252 support.rmtree(base_path) |
| 253 os.chdir(curdir) | 253 os.chdir(curdir) |
| 254 | 254 |
| 255 | 255 |
| 256 def test_main(): | 256 def test_main(): |
| 257 support.run_unittest(PosixTester) | 257 support.run_unittest(PosixTester) |
| 258 | 258 |
| 259 if __name__ == '__main__': | 259 if __name__ == '__main__': |
| 260 test_main() | 260 test_main() |
| LEFT | RIGHT |