def test_signature_charset(methods):
methods.remove(extract_stack(None, 2)[1][2].replace('test_signature_', ''))
sig = ArgSpec(args=['self', 'charset'], varargs=None, keywords=None,
defaults=(CharSet.USA,))
assert getargspec(ThermalPrinter.charset) == sig
评论列表
文章目录