diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-08 14:50:08 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-08 14:50:08 +0200 |
commit | 25d8aeac7c1e24df79c18f6391b7e42b873d66d8 (patch) | |
tree | 3171eaac6be60dd8623e5d0ccab67adf38a44215 /Lib/test/test_cgi.py | |
parent | 3a20a5deade014a4559a71962600b23ee9f608f4 (diff) | |
download | cpython-git-25d8aeac7c1e24df79c18f6391b7e42b873d66d8.tar.gz |
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
Diffstat (limited to 'Lib/test/test_cgi.py')
-rw-r--r-- | Lib/test/test_cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index e604c926b9..86e1f3a5f0 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -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): |