File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 5
5
import textwrap
6
6
from os .path import curdir , join , pardir
7
7
8
- import pip ._vendor .six
9
8
import pytest
9
+ from pip ._vendor .six import PY2
10
10
11
11
from pip ._internal import pep425tags
12
12
from pip ._internal .cli .status_codes import ERROR , SUCCESS
20
20
from tests .lib .local_repos import local_checkout
21
21
from tests .lib .path import Path
22
22
23
- python3_only = pytest .mark .skipif (not pip ._vendor .six .PY2 ,
24
- reason = "Python 3 only" )
23
+ python2_only = pytest .mark .skipif (not PY2 , reason = "Python 2 only" )
25
24
26
25
27
26
@pytest .mark .parametrize ('command' , ('install' , 'wheel' ))
@@ -532,7 +531,7 @@ def test_editable_install__local_dir_no_setup_py_with_pyproject(
532
531
assert 'A "pyproject.toml" file was found' in msg
533
532
534
533
535
- @python3_only
534
+ @python2_only
536
535
@pytest .mark .xfail
537
536
def test_install_argparse_shadowed (script ):
538
537
# When argparse is in the stdlib, we support installing it
You can’t perform that action at this time.
0 commit comments