mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
This commit is contained in:
parent
3a20a5dead
commit
25d8aeac7c
8 changed files with 27 additions and 26 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue