hy/tests/lang/test_kwargs.py
2012-12-18 09:11:42 -05:00

19 lines
330 B
Python

import hy.lang.importer
def shim(*args, **kwargs):
return {"a": args,
"k": kwargs}
def test_kwargs_proper():
import tests.lang.kwargs
val = tests.lang.kwargs.kiwi()
assert val == {
"a": ('one', 'two'),
"k": {
"three": "three",
"four": "four"
}
}