File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,9 +132,7 @@ def scalar_to_py_smart(value: pyarrow.Scalar) -> typing.Any:
132132 instant = whenever .Instant .from_timestamp_nanos (nanos )
133133 if value .type .tz is None or value .type .tz == "" :
134134 # A bit sketch
135- naive = whenever .PlainDateTime .parse_common_iso (
136- instant .format_common_iso ()[:- 1 ]
137- )
135+ naive = whenever .PlainDateTime .parse_iso (instant .format_iso ()[:- 1 ])
138136 return str (naive )
139137 elif value .type .tz == "UTC" :
140138 return str (instant )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ dependencies = [
2424 " jinja2>=3.1.6,<4" ,
2525 " pyarrow>=21.0.0,<22" ,
2626 " pytest>=8.4.1,<9" ,
27- " whenever>=0.8.8 ,<0.10" ,
27+ " whenever>=0.9.3 ,<0.10" ,
2828]
2929
3030[build-system ]
Original file line number Diff line number Diff line change @@ -17,5 +17,8 @@ junit_suite_name = validation
1717junit_duration_report = call
1818xfail_strict = true
1919
20+ filterwarnings =
21+ error
22+
2023markers =
2124 feature: test for a driver-specific feature
You can’t perform that action at this time.
0 commit comments