1. Pypy
  2. Untitled project
  3. pypy


pypy / pytest.py

Diff from to

File pytest.py

  • Ignore whitespace
 # When all tests work, this branch will be merged
 # and the branch stage 2 is started, where we remove this patch.
 import sys
-if hasattr(sys, "maxsize"):
+if hasattr(sys, "maxint") and hasattr(sys, "maxsize"):
     if sys.maxint != sys.maxsize:
         sys.maxint = sys.maxsize
         import warnings