Skip to content

Commit

Permalink
Merge pull request #171 from mattip/master
Browse files Browse the repository at this point in the history
BUG: fix version checking for PyPy 6.0.0
  • Loading branch information
planrich committed Apr 5, 2018
2 parents f8c5b13 + b3f1629 commit 949fa73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmprof/__init__.py
Expand Up @@ -68,7 +68,7 @@ def enable(fileno, period=DEFAULT_PERIOD, memory=False, lines=False, native=None
print('Line profiling is currently unsupported for PyPy. Running without lines statistics.\n')
native = _is_native_enabled(native)
#
if MAJOR >= 5 and MINOR >= 9 and PATCH >= 0:
if (MAJOR, MINOR, PATCH) >= (5, 9, 0):
_vmprof.enable(fileno, period, memory, lines, native, real_time)
return
if real_time:
Expand Down

0 comments on commit 949fa73

Please sign in to comment.