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

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

Issue 22986: Improved handling of __class__ assignment
Left Patch Set: Created 5 years, 1 month ago
Right Patch Set: Created 5 years, 1 month 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 | « no previous file | Objects/typeobject.c » ('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 # Test the module type 1 # Test the module type
2 import unittest 2 import unittest
3 import weakref 3 import weakref
4 from test.support import run_unittest, gc_collect 4 from test.support import run_unittest, gc_collect
5 from test.script_helper import assert_python_ok 5 from test.script_helper import assert_python_ok
6 6
7 import sys 7 import sys
8 ModuleType = type(sys) 8 ModuleType = type(sys)
9 9
10 class FullLoader: 10 class FullLoader:
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 253
254 # frozen and namespace module reprs are tested in importlib. 254 # frozen and namespace module reprs are tested in importlib.
255 255
256 256
257 def test_main(): 257 def test_main():
258 run_unittest(ModuleTests) 258 run_unittest(ModuleTests)
259 259
260 260
261 if __name__ == '__main__': 261 if __name__ == '__main__':
262 test_main() 262 test_main()
LEFTRIGHT

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