def test_lens_call_kwargs(): assert lens.call("encode", encoding="utf-8")("h") == b"h"
def test_lens_call_args(): assert lens.call("center", 5)("h") == " h "
def test_lens_call(): assert lens.call("upper")("hello") == "HELLO"
def test_lens_call_kwargs(): assert lens.call('encode', encoding='utf-8')('h') == b'h'
def test_lens_call_args(): assert lens.call('center', 5)('h') == ' h '
def test_lens_call(): assert lens.call('upper')('hello') == 'HELLO'