File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
pandas/tests/extension/json Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import operator
2
- import sys
3
2
4
3
import pytest
5
4
6
5
6
+ from pandas .compat import PY2 , PY36
7
7
from pandas .tests .extension import base
8
8
9
9
from .array import JSONArray , JSONDtype , make_data
10
10
11
- pytestmark = pytest .mark .skipif (sys .version_info [0 ] == 2 ,
12
- reason = "Py2 doesn't have a UserDict" )
11
+ pytestmark = pytest .mark .skipif (PY2 , reason = "Py2 doesn't have a UserDict" )
13
12
14
13
15
14
@pytest .fixture
@@ -81,7 +80,7 @@ def test_fillna_frame(self):
81
80
82
81
class TestMethods (base .BaseMethodsTests ):
83
82
unhashable = pytest .mark .skip (reason = "Unhashable" )
84
- unstable = pytest .mark .skipif (sys . version_info <= ( 3 , 5 ),
83
+ unstable = pytest .mark .skipif (not PY36 , # 3.6 or higher
85
84
reason = "Dictionary order unstable" )
86
85
87
86
@unhashable
You can’t perform that action at this time.
0 commit comments