fixed partial test

This commit is contained in:
nickharris 2018-05-14 09:10:34 -06:00
parent 0fe2fe3031
commit d59a46be37

View File

@ -31,6 +31,6 @@ def test_list_non_null():
def test_partial():
def __type(_type):
return _type
dynamic = Dynamic(partial(__type(String)))
dynamic = Dynamic(partial(__type, String))
assert dynamic.get_type() == String
assert str(dynamic.get_type()) == 'String'