diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-22 21:29:01 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-07-22 21:29:01 +0000 |
commit | 5b84d53e4e08cb5c98e53fa493d16c59f0a9cc85 (patch) | |
tree | a8eaf343b5f7f79645c666ddb84d9d20e40e4617 /Lib/test/test_asynchat.py | |
parent | 703f87ce8afdd33676e3ae64c937285ef75038c7 (diff) | |
download | cpython-5b84d53e4e08cb5c98e53fa493d16c59f0a9cc85.tar.gz |
Use assertGreater instead of assertTrue(x > y).
Diffstat (limited to 'Lib/test/test_asynchat.py')
-rw-r--r-- | Lib/test/test_asynchat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py index 3da5878f47..f49701fd84 100644 --- a/Lib/test/test_asynchat.py +++ b/Lib/test/test_asynchat.py @@ -214,7 +214,7 @@ class TestAsynchat(unittest.TestCase): # the server might have been able to send a byte or two back, but this # at least checks that it received something and didn't just fail # (which could still result in the client not having received anything) - self.assertTrue(len(s.buffer) > 0) + self.assertGreater(len(s.buffer), 0) class TestAsynchat_WithPoll(TestAsynchat): |