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

Delta Between Two Patch Sets: Lib/test/support/__init__.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
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
« no previous file with change/comment | « Lib/test/regrtest.py ('k') | Lib/test/support/script_helper.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 """Supporting definitions for the Python regression tests.""" 1 """Supporting definitions for the Python regression tests."""
2 2
3 if __name__ != 'test.support': 3 if __name__ != 'test.support':
4 raise ImportError('support must be imported from the test package') 4 raise ImportError('support must be imported from the test package')
5 5
6 import collections.abc 6 import collections.abc
7 import contextlib 7 import contextlib
8 import errno 8 import errno
9 import faulthandler 9 import faulthandler
10 import fnmatch 10 import fnmatch
(...skipping 2414 matching lines...) Expand 10 before | Expand all | Expand 10 after
2425 import tracemalloc 2425 import tracemalloc
2426 except ImportError: 2426 except ImportError:
2427 pass 2427 pass
2428 else: 2428 else:
2429 if tracemalloc.is_tracing(): 2429 if tracemalloc.is_tracing():
2430 raise unittest.SkipTest("run_in_subinterp() cannot be used " 2430 raise unittest.SkipTest("run_in_subinterp() cannot be used "
2431 "if tracemalloc module is tracing " 2431 "if tracemalloc module is tracing "
2432 "memory allocations") 2432 "memory allocations")
2433 import _testcapi 2433 import _testcapi
2434 return _testcapi.run_in_subinterp(code) 2434 return _testcapi.run_in_subinterp(code)
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+