mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
condense
This commit is contained in:
parent
0bbf9c99d6
commit
1c87e2943a
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue