Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ff0235 commit 953f558Copy full SHA for 953f558
1 file changed
Lib/test/test_asynchat.py
@@ -214,7 +214,7 @@ def test_close_when_done(self):
214
# the server might have been able to send a byte or two back, but this
215
# at least checks that it received something and didn't just fail
216
# (which could still result in the client not having received anything)
217
- self.assertTrue(len(s.buffer) > 0)
+ self.assertGreater(len(s.buffer), 0)
218
219
220
class TestAsynchat_WithPoll(TestAsynchat):
0 commit comments