Skip to content

Commit

Permalink
Suppress resource warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jul 14, 2014
1 parent eae23d3 commit 343bbd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ class MyResponse(ClientResponse):
response = MyResponse('get', 'http://python.org')
response._setup_connection(self.connection)
self.assertIsInstance(response.content, aiohttp.FlowControlDataQueue)
with self.assertWarns(ResourceWarning):
del response


class ClientRequestTests(unittest.TestCase):
Expand Down

0 comments on commit 343bbd3

Please sign in to comment.