This commit is contained in:
Benjamin Peterson 2010-10-30 23:04:49 +00:00
parent 0bbf9c99d6
commit 1c87e2943a
1 changed files with 1 additions and 5 deletions

View File

@ -36,12 +36,8 @@ class ImportTests(unittest.TestCase):
def test_case_sensitivity(self):
# Brief digression to test that import is case-sensitive: if we got
# this far, we know for sure that "random" exists.
try:
with self.assertRaises(ImportError):
import RAnDoM
except ImportError:
pass
else:
self.fail("import of RAnDoM should have failed (case mismatch)")
def test_double_const(self):
# Another brief digression to test the accuracy of manifest float