File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 3030 read_json ,
3131)
3232import pandas ._testing as tm
33+ from pandas .util .version import Version
3334
3435from pandas .io .json import ujson_dumps
3536
@@ -2187,12 +2188,10 @@ def test_read_json_dtype_backend(
21872188 tm .assert_frame_equal (result , expected , check_column_type = False )
21882189
21892190 @td .skip_if_no ("pyarrow" )
2190- @pytest .mark .filterwarnings ("ignore::DeprecationWarning" )
21912191 def test_read_json_pyarrow_with_dtype (self , request ):
21922192 pa = pytest .importorskip ("pyarrow" )
2193- version_tuple = tuple (map (int , pa .__version__ .split ("." )))
21942193
2195- if version_tuple [ 0 ] < 16 :
2194+ if Version ( pa . __version__ ) < Version ( "16.0" ) :
21962195 request .applymarker (
21972196 pytest .mark .filterwarnings ("ignore::DeprecationWarning" )
21982197 )
You can’t perform that action at this time.
0 commit comments