-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests compatible with PyPy3.5-5.8.0 (#152)
* Add PyPy3.5-5.8.0 test env * Move 3.6-dev + nightly to normal matrix in Travis * Don't install mypy under PyPy implementation * Don't run mypy under PyPy * Exclude cython-specific tests under PyPy env * Explicitly check for PyPy implementation * Convert test_copy to be PyPy-dependent * Tell flake8 to ignore E402 in certain cases * PyPy-se test_guard * Adjust test_pickle for PyPy * Suppress flake8 E402 for test_guard * Refactor cpython enabling logic w/ compat module * Pick up _compat.USE_CYTHON within test modules * Fix flake8 complaints about line length
- Loading branch information
Showing
10 changed files
with
262 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import os | ||
import platform | ||
|
||
|
||
NO_EXTENSIONS = bool(os.environ.get('MULTIDICT_NO_EXTENSIONS')) | ||
|
||
PYPY = platform.python_implementation() == 'PyPy' | ||
|
||
USE_CYTHON_EXTENSIONS = USE_CYTHON = not NO_EXTENSIONS and not PYPY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.