forked from pypa/setuptools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix pypa#1419 PEP420: cleanup code refactor markers
- Loading branch information
1 parent
e1e8659
commit 6deb251
Showing
3 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import pytest | ||
from setuptools.extern.six import PY2, PY3 | ||
|
||
__all__ = [ | ||
'py2_only', 'py3_only' | ||
] | ||
|
||
py2_only = pytest.mark.skipif(not PY2, reason="Test runs on Python 2 only") | ||
py3_only = pytest.mark.skipif(not PY3, reason="Test runs on Python 3 only") | ||
|
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