diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-06-14 14:34:30 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-06-14 14:34:30 +1200 |
commit | 50a20fefeef78dad9fa9057c9e5dbfed3d0b4e37 (patch) | |
tree | 65652311d0697b8c4b394e7d9041655f15e5ee44 | |
parent | 9e63350a96df98017f03283d4b5fccb57215170f (diff) | |
download | mitmproxy-50a20fefeef78dad9fa9057c9e5dbfed3d0b4e37.tar.gz mitmproxy-50a20fefeef78dad9fa9057c9e5dbfed3d0b4e37.tar.bz2 mitmproxy-50a20fefeef78dad9fa9057c9e5dbfed3d0b4e37.zip |
Satisfy lint
-rw-r--r-- | test/netlib/test_tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/netlib/test_tcp.py b/test/netlib/test_tcp.py index df305fc2..7121bc98 100644 --- a/test/netlib/test_tcp.py +++ b/test/netlib/test_tcp.py @@ -507,7 +507,7 @@ class TestTimeOut(tservers.ServerTestBase): def test_timeout(self): c = tcp.TCPClient(("127.0.0.1", self.port)) - with c.connect() as conn: + with c.connect(): c.settimeout(0.1) assert c.gettimeout() == 0.1 tutils.raises(TcpTimeout, c.rfile.read, 10) |