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

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

Issue 19990: Add unittests for imghdr module
Left Patch Set: Created 5 years, 7 months ago
Right Patch Set: Created 5 years, 7 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_imghdr.py ('k') | no next file » | 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 """Do a minimal test of all the modules that aren't otherwise tested.""" 1 """Do a minimal test of all the modules that aren't otherwise tested."""
2 import importlib 2 import importlib
3 import sys 3 import sys
4 from test import support 4 from test import support
5 import unittest 5 import unittest
6 6
7 class TestUntestedModules(unittest.TestCase): 7 class TestUntestedModules(unittest.TestCase):
8 def test_untested_modules_can_be_imported(self): 8 def test_untested_modules_can_be_imported(self):
9 untested = ('bdb', 'encodings', 'formatter', 9 untested = ('bdb', 'encodings', 'formatter',
10 'nturl2path', 'tabnanny') 10 'nturl2path', 'tabnanny')
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 try: 51 try:
52 import tty # Not available on Windows 52 import tty # Not available on Windows
53 except ImportError: 53 except ImportError:
54 if support.verbose: 54 if support.verbose:
55 print("skipping tty") 55 print("skipping tty")
56 56
57 57
58 if __name__ == "__main__": 58 if __name__ == "__main__":
59 unittest.main() 59 unittest.main()
LEFTRIGHT

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