[pypy-commit] pypy default: len('3.6') is 3, fix comparison
mattip
pypy.commits at gmail.com
Sun Feb 24 09:42:17 EST 2019
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r96147:fa5202d97bc9
Date: 2019-02-24 16:40 +0200
http://bitbucket.org/pypy/pypy/changeset/fa5202d97bc9/
Log: len('3.6') is 3, fix comparison
diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -10,7 +10,7 @@
except ImportError:
pass
else:
- if __version__[:2] < '3.6':
+ if __version__[:3] < '3.6':
s = settings(deadline=None)
settings.register_profile('default', s)
else:
More information about the pypy-commit
mailing list