Commit 7b688250 authored by Ezio Melotti's avatar Ezio Melotti

Fix a couple more tests.

parent 6a19b006
......@@ -39,7 +39,7 @@ class SimpleRecnoTestCase(unittest.TestCase):
for x in letters:
recno = d.append(x * 60)
self.assertTrue(isinstance(recno, int))
self.assertGreaterEqual(recno, 1)
self.assertTrue(recno >= 1)
if verbose:
print recno,
......
......@@ -193,7 +193,7 @@ class urlretrieveNetworkTests(unittest.TestCase):
def test_main():
test_support.requires('network')
with test_support.check_py3k_warnings(
with test_support._check_py3k_warnings(
("urllib.urlopen.. has been removed", DeprecationWarning)):
test_support.run_unittest(URLTimeoutTest,
urlopenNetworkTests,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment