diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-03-08 20:50:32 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-03-08 20:50:32 (GMT) |
commit | 79925fdbfe42350d84a2bd938b2bccc1a48a2f0e (patch) | |
tree | 8bc9c3f31f84fe89bbbf6adb01625e13c177edd1 /Lib | |
parent | 3c2ac448ec594762c2e72d3774697babb932881a (diff) | |
download | cpython-79925fdbfe42350d84a2bd938b2bccc1a48a2f0e.zip cpython-79925fdbfe42350d84a2bd938b2bccc1a48a2f0e.tar.gz cpython-79925fdbfe42350d84a2bd938b2bccc1a48a2f0e.tar.bz2 |
Skip case-sensitivity tests for extension modules if _testcapi cannot be found.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/importlib/test/extension/test_case_sensitivity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/importlib/test/extension/test_case_sensitivity.py b/Lib/importlib/test/extension/test_case_sensitivity.py index 39e6fac..3387e70 100644 --- a/Lib/importlib/test/extension/test_case_sensitivity.py +++ b/Lib/importlib/test/extension/test_case_sensitivity.py @@ -32,6 +32,8 @@ class ExtensionModuleCaseSensitivityTest(unittest.TestCase): def test_main(): + if ext_util.FILENAME is None: + return support.run_unittest(ExtensionModuleCaseSensitivityTest) |