def test_putheader(self):
        conn = client.HTTPConnection('example.com')
        conn.sock = FakeSocket(None)
        conn.putrequest('GET','/')
        conn.putheader('Content-length', 42)
        self.assertTrue(conn._buffer in b'Content-length: 42')
dataset/ETHPy150Open PythonCharmers/python-future/tests/test_future/test_httplib.py/HeaderTests.test_putheader/swapped operands of `in`