def test_sprintf(): assert h.sprintf('hello %s', 'python') == 'hello python' assert h.sprintf('hello %(name)s', name='python') == 'hello python'
def test_sprintf(): assert h.sprintf('hello %s', 'python') == 'hello python' assert h.sprintf('hello %(name)s', name='python') == 'hello python'