BigW Consortium Gitlab

Commit 871cde8a by Marc Abramowitz

Allow passing parameters of type long when an int is expected.

The test, test_parameter_type_long, added in commit cde2a133, now passes.
parent cde2a133
......@@ -62,6 +62,8 @@ class TypeChecker(object):
def check_int(self, value):
if isinstance(value, long):
return True, value
return isinstance(value, int), value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment