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

Delta Between Two Patch Sets: Lib/test/test_import/__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/test_httpservers.py ('k') | Lib/test/test_importlib/extension/test_finder.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 # We import importlib *ASAP* in order to test #15386 1 # We import importlib *ASAP* in order to test #15386
2 import importlib 2 import importlib
3 import importlib.util 3 import importlib.util
4 from importlib._bootstrap_external import _get_sourcefile 4 from importlib._bootstrap_external import _get_sourcefile
5 import builtins 5 import builtins
6 import marshal 6 import marshal
7 import os 7 import os
8 import platform 8 import platform
9 import py_compile 9 import py_compile
10 import random 10 import random
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1123 import test.test_import.data.circular_imports.rebinding as rebinding 1123 import test.test_import.data.circular_imports.rebinding as rebinding
1124 except ImportError: 1124 except ImportError:
1125 self.fail('circular import with rebinding of module attribute failed ') 1125 self.fail('circular import with rebinding of module attribute failed ')
1126 from test.test_import.data.circular_imports.subpkg import util 1126 from test.test_import.data.circular_imports.subpkg import util
1127 self.assertIs(util.util, rebinding.util) 1127 self.assertIs(util.util, rebinding.util)
1128 1128
1129 1129
1130 if __name__ == '__main__': 1130 if __name__ == '__main__':
1131 # Test needs to be a package, so we can do relative imports. 1131 # Test needs to be a package, so we can do relative imports.
1132 unittest.main() 1132 unittest.main()
LEFTRIGHT

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