@pytest.mark.parametrize('bad_context', [object(), 'context', None, 1])
def test_wrong_args(self, bad_context):
    '\n        `Connection.__init__` raises `TypeError` if called with a non-`Context`\n        instance argument.\n        '
    with pytest.raises(TypeError):
        Connection(bad_context)
`Connection.__init__` raises `TypeError` if called with a non-`Context`
instance argument.
@pytest.mark.parametrize('bad_context', [object(), 'context', None, 1])
def test_wrong_args(self, bad_context):
    '\n        `Connection.__init__` raises `TypeError` if called with a non-`Context`\n        instance argument.\n        '
    with pytest.raises(TypeError):
        Connection(bad_context)