commit | c73a05f775013980a2a0de1c2a65b8542ee0bfa6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Tue Apr 27 23:51:16 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Tue Apr 27 23:51:16 2010 +0000 |
tree | 1736a0b441dc0f6cd20157f2436d5593eef44c54 | |
parent | 47c884129d4b12cd06a5b77c5833b0afee28cd25 [diff] |
Issue #7449, part 10: test_cmd imports trace module using test_support.import_module() Use test_support.import_module() instead of import to raise a SkipTest exception if the import fail. Import trace fails if the threading module is missing. See also part 3: test_doctest: import trace module in test_coverage().