Fix and check cgi module deprecation warnings. Revert an unwanted rename in test_import.

This commit is contained in:
Florent Xicluna 2010-03-17 20:05:11 +00:00
parent 945a8ba635
commit 78c1871d21
3 changed files with 12 additions and 11 deletions

View file

@ -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"