Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.

This commit is contained in:
Serhiy Storchaka 2014-02-08 14:50:08 +02:00
parent 3a20a5dead
commit 25d8aeac7c
8 changed files with 27 additions and 26 deletions

View file

@ -227,7 +227,7 @@ class CgiTests(unittest.TestCase):
# if we're not chunking properly, readline is only called twice
# (by read_binary); if we are chunking properly, it will be called 5 times
# as long as the chunksize is 1 << 16.
self.assertTrue(f.numcalls > 2)
self.assertGreater(f.numcalls, 2)
f.close()
def test_fieldstorage_multipart(self):