Skip case-sensitivity tests for extension modules if _testcapi cannot be found.

This commit is contained in:
Brett Cannon 2009-03-08 20:50:32 +00:00
parent 3c2ac448ec
commit 79925fdbfe
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ class ExtensionModuleCaseSensitivityTest(unittest.TestCase):
def test_main():
if ext_util.FILENAME is None:
return
support.run_unittest(ExtensionModuleCaseSensitivityTest)