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

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

Issue 3871: cross and native build of python for mingw32 with distutils
Left Patch Set: Created 9 years, 6 months ago
Right Patch Set: Created 7 years, 2 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:
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_os.py ('k') | Lib/test/test_sysconfig.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
(no file at all)
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 2
3 from test import support 3 from test import support
4 import sys 4 import sys
5 import unittest 5 import unittest
6 6
7 class TestUntestedModules(unittest.TestCase): 7 class TestUntestedModules(unittest.TestCase):
8 def test_at_least_import_untested_modules(self): 8 def test_at_least_import_untested_modules(self):
9 with support.check_warnings(quiet=True): 9 with support.check_warnings(quiet=True):
10 import bdb 10 import bdb
11 import cgitb 11 import cgitb
12 12
13 import distutils.bcppcompiler 13 import distutils.bcppcompiler
14 import distutils.ccompiler 14 import distutils.ccompiler
15 import distutils.cygwinccompiler 15 import distutils.cygwinccompiler
16 import distutils.emxccompiler 16 import distutils.emxccompiler
17 import distutils.filelist 17 import distutils.filelist
18 if sys.platform.startswith('win'): 18 if sys.platform.startswith('win'):
19 import distutils.msvccompiler 19 import distutils.msvccompiler
20 import distutils.text_file 20 import distutils.text_file
21 import distutils.unixccompiler 21 import distutils.unixccompiler
22 22
23 import distutils.command.bdist_dumb 23 import distutils.command.bdist_dumb
24 if sys.platform.startswith('win'): 24 if sys.platform.startswith('win'):
25 import distutils.command.bdist_msi 25 try:
26 import distutils.command.bdist_msi # if msi module is not bu ild
27 except ImportError:
28 if support.verbose:
29 print("skipping bdist_msi")
26 import distutils.command.bdist 30 import distutils.command.bdist
27 import distutils.command.bdist_rpm 31 import distutils.command.bdist_rpm
28 import distutils.command.bdist_wininst 32 import distutils.command.bdist_wininst
29 import distutils.command.build_clib 33 import distutils.command.build_clib
30 import distutils.command.build_ext 34 import distutils.command.build_ext
31 import distutils.command.build 35 import distutils.command.build
32 import distutils.command.clean 36 import distutils.command.clean
33 import distutils.command.config 37 import distutils.command.config
34 import distutils.command.install_data 38 import distutils.command.install_data
35 import distutils.command.install_egg_info 39 import distutils.command.install_egg_info
(...skipping 22 matching lines...) Expand all
58 except ImportError: 62 except ImportError:
59 if support.verbose: 63 if support.verbose:
60 print("skipping tty") 64 print("skipping tty")
61 65
62 66
63 def test_main(): 67 def test_main():
64 support.run_unittest(TestUntestedModules) 68 support.run_unittest(TestUntestedModules)
65 69
66 if __name__ == "__main__": 70 if __name__ == "__main__":
67 test_main() 71 test_main()
LEFTRIGHT

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