File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 26
26
import pytest
27
27
28
28
from pandas .compat import (
29
+ PY311 ,
29
30
is_ci_environment ,
30
31
is_platform_windows ,
31
32
pa_version_under6p0 ,
49
50
)
50
51
from pandas .tests .extension import base
51
52
52
- pa = pytest .importorskip ("pyarrow" , minversion = "1 .0.1 " )
53
+ pa = pytest .importorskip ("pyarrow" , minversion = "6 .0.0 " )
53
54
54
55
from pandas .core .arrays .arrow .array import ArrowExtensionArray
55
56
@@ -287,7 +288,7 @@ def test_from_sequence_pa_array_notimplemented(self, request):
287
288
288
289
def test_from_sequence_of_strings_pa_array (self , data , request ):
289
290
pa_dtype = data .dtype .pyarrow_dtype
290
- if pa .types .is_time64 (pa_dtype ) and pa_dtype .equals ("time64[ns]" ):
291
+ if pa .types .is_time64 (pa_dtype ) and pa_dtype .equals ("time64[ns]" ) and not PY311 :
291
292
request .node .add_marker (
292
293
pytest .mark .xfail (
293
294
reason = "Nanosecond time parsing not supported." ,
You can’t perform that action at this time.
0 commit comments