Skip to content

Commit

Permalink
Merge pull request #2624 from jklarson/bugfix/7.0.1_driver_tests
Browse files Browse the repository at this point in the history
Fixed reference to long type removed in python3
  • Loading branch information
shwethanidd authored Feb 25, 2021
2 parents 9a7c90e + 7eced5d commit 3718bff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def parse_transform_arg(func, arg):
"""
parse_arg = arg
if func in (scale, scale_int, scale_decimal_int_signed):
if type(arg) not in (int, long, float):
if type(arg) not in (int, float):
try:
parse_arg = int(arg, 10)
except ValueError:
Expand Down

0 comments on commit 3718bff

Please sign in to comment.