mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import.
This commit is contained in:
parent
945a8ba635
commit
78c1871d21
3 changed files with 12 additions and 11 deletions
|
@ -162,7 +162,7 @@ class ImportTests(unittest.TestCase):
|
|||
unlink(filename + 'c')
|
||||
unlink(filename + 'o')
|
||||
|
||||
def test_0Bfailing_import_sticks(self):
|
||||
def test_failing_import_sticks(self):
|
||||
source = TESTFN + os.extsep + "py"
|
||||
with open(source, "w") as f:
|
||||
print >> f, "a = 1 // 0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue