Skip to content

Commit

Permalink
Fixed test for Python 3 to a more sensible alternative.
Browse files Browse the repository at this point in the history
  • Loading branch information
apense committed Dec 18, 2014
1 parent 9dcf2e7 commit 2f4cc92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fauxfactory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def gen_integer(min_value=None, max_value=None):
if max_value is None:
max_value = _max_value

if sys.version < '3':
if sys.version_info.major < 3:
integer_types = (int, long,)
else:
integer_types = (int,)
Expand Down

0 comments on commit 2f4cc92

Please sign in to comment.