Created
October 9, 2024 18:20
-
-
Save amoeba/416de429633108d15e610567937e3588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
└ Testing wheel | |
=========================================================== test session starts ============================================================ | |
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- /tmp/nanoarrow-0.6.0.UP7Lid/venv/bin/python | |
cachedir: .pytest_cache | |
rootdir: /tmp/nanoarrow-0.6.0.UP7Lid/apache-arrow-nanoarrow-0.6.0/python | |
configfile: pyproject.toml | |
collected 230 items / 2 skipped | |
tests/test_array.py::test_array_construct PASSED [ 0%] | |
tests/test_array.py::test_array_alias_constructor PASSED [ 0%] | |
tests/test_array.py::test_array_from_chunks PASSED [ 1%] | |
tests/test_array.py::test_array_from_chunks_validate PASSED [ 1%] | |
tests/test_array.py::test_array_empty PASSED [ 2%] | |
tests/test_array.py::test_array_contiguous PASSED [ 2%] | |
tests/test_array.py::test_array_chunked PASSED [ 3%] | |
tests/test_array.py::test_array_children PASSED [ 3%] | |
tests/test_array.py::test_scalar_to_array PASSED [ 3%] | |
tests/test_array.py::test_scalar_repr PASSED [ 4%] | |
tests/test_array.py::test_scalar_repr_long SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 4%] | |
tests/test_array.py::test_array_repr PASSED [ 5%] | |
tests/test_array.py::test_wide_array_repr PASSED [ 5%] | |
tests/test_array.py::test_array_repr_long SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 6%] | |
tests/test_array.py::test_array_inspect PASSED [ 6%] | |
tests/test_array.py::test_array_serialize PASSED [ 6%] | |
tests/test_array.py::test_timestamp_array PASSED [ 7%] | |
tests/test_array.py::test_date64_array PASSED [ 7%] | |
tests/test_array.py::test_duration_array PASSED [ 8%] | |
tests/test_array.py::test_timestamp_array_using_struct PASSED [ 8%] | |
tests/test_array_stream.py::test_array_stream_iter PASSED [ 9%] | |
tests/test_array_stream.py::test_array_stream_iter_chunks PASSED [ 9%] | |
tests/test_array_stream.py::test_array_stream_iter_py PASSED [ 10%] | |
tests/test_array_stream.py::test_array_stream_iter_tuples PASSED [ 10%] | |
tests/test_array_stream.py::test_array_stream_to_pylist PASSED [ 10%] | |
tests/test_array_stream.py::test_array_stream_to_columns PASSED [ 11%] | |
tests/test_array_stream.py::test_array_stream_read_all PASSED [ 11%] | |
tests/test_array_stream.py::test_array_stream_read_next PASSED [ 12%] | |
tests/test_array_stream.py::test_array_stream_close PASSED [ 12%] | |
tests/test_array_stream.py::test_array_stream_context_manager PASSED [ 13%] | |
tests/test_array_stream.py::test_array_stream_from_readable PASSED [ 13%] | |
tests/test_array_stream.py::test_array_stream_from_path PASSED [ 13%] | |
tests/test_array_stream.py::test_array_stream_from_url PASSED [ 14%] | |
tests/test_c_array.py::test_c_array_from_c_array PASSED [ 14%] | |
tests/test_c_array.py::test_c_array_from_capsule_protocol PASSED [ 15%] | |
tests/test_c_array.py::test_c_array_from_old_pyarrow SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 15%] | |
tests/test_c_array.py::test_c_array_from_bare_capsule PASSED [ 16%] | |
tests/test_c_array.py::test_c_array_type_not_supported PASSED [ 16%] | |
tests/test_c_array.py::test_c_array_slice PASSED [ 16%] | |
tests/test_c_array.py::test_c_array_slice_errors PASSED [ 17%] | |
tests/test_c_array.py::test_c_array_shallow_copy PASSED [ 17%] | |
tests/test_c_array.py::test_c_array_builder_init PASSED [ 18%] | |
tests/test_c_array.py::test_c_array_from_pybuffer_uint8 PASSED [ 18%] | |
tests/test_c_array.py::test_c_array_from_pybuffer_string PASSED [ 19%] | |
tests/test_c_array.py::test_c_array_from_pybuffer_fixed_size_binary PASSED [ 19%] | |
tests/test_c_array.py::test_c_array_from_pybuffer_numpy PASSED [ 20%] | |
tests/test_c_array.py::test_c_array_from_iterable_empty PASSED [ 20%] | |
tests/test_c_array.py::test_c_array_from_iterable_string PASSED [ 20%] | |
tests/test_c_array.py::test_c_array_from_iterable_string_view PASSED [ 21%] | |
tests/test_c_array.py::test_c_array_from_iterable_bytes PASSED [ 21%] | |
tests/test_c_array.py::test_c_array_from_iterable_view PASSED [ 22%] | |
tests/test_c_array.py::test_c_array_from_iterable_non_empty_nullable_without_nulls PASSED [ 22%] | |
tests/test_c_array.py::test_c_array_from_iterable_non_empty_non_nullable PASSED [ 23%] | |
tests/test_c_array.py::test_c_array_from_iterable_int_with_nulls PASSED [ 23%] | |
tests/test_c_array.py::test_c_array_from_iterable_float_with_nulls PASSED [ 23%] | |
tests/test_c_array.py::test_c_array_from_iterable_bool_with_nulls PASSED [ 24%] | |
tests/test_c_array.py::test_c_array_from_iterable_fixed_size_binary_with_nulls PASSED [ 24%] | |
tests/test_c_array.py::test_c_array_from_iterable_day_time_interval_with_nulls PASSED [ 25%] | |
tests/test_c_array.py::test_c_array_from_iterable_month_day_nano_interval_with_nulls PASSED [ 25%] | |
tests/test_c_array.py::test_c_array_from_iterable_error PASSED [ 26%] | |
tests/test_c_array.py::test_c_array_from_buffers PASSED [ 26%] | |
tests/test_c_array.py::test_c_array_from_buffers_null_count PASSED [ 26%] | |
tests/test_c_array.py::test_c_array_from_buffers_recursive PASSED [ 27%] | |
tests/test_c_array.py::test_c_array_from_buffers_validation PASSED [ 27%] | |
tests/test_c_array.py::test_c_array_from_buffers_device PASSED [ 28%] | |
tests/test_c_array.py::test_c_array_timestamp_seconds PASSED [ 28%] | |
tests/test_c_array.py::test_c_array_timestamp_seconds_from_pybuffer PASSED [ 29%] | |
tests/test_c_array.py::test_c_array_timestamp_milliseconds PASSED [ 29%] | |
tests/test_c_array.py::test_c_array_timestamp_milliseconds_from_pybuffer PASSED [ 30%] | |
tests/test_c_array.py::test_c_array_timestamp_microseconds PASSED [ 30%] | |
tests/test_c_array.py::test_c_array_timestamp_nanoseconds PASSED [ 30%] | |
tests/test_c_array.py::test_c_array_duration PASSED [ 31%] | |
tests/test_c_array.py::test_device_array_errors SKIPPED (CUDA device not available) [ 31%] | |
tests/test_c_array.py::test_array_from_dlpack_cuda SKIPPED (could not import 'cupy': No module named 'cupy') [ 32%] | |
tests/test_c_array_stream.py::test_c_array_stream_from_c_array_stream PASSED [ 32%] | |
tests/test_c_array_stream.py::test_c_array_stream_from_capsule_protocol PASSED [ 33%] | |
tests/test_c_array_stream.py::test_c_array_stream_from_old_pyarrow SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 33%] | |
tests/test_c_array_stream.py::test_c_array_stream_from_bare_capsule PASSED [ 33%] | |
tests/test_c_array_stream.py::test_c_array_stream_from_c_array_fallback PASSED [ 34%] | |
tests/test_c_array_stream.py::test_c_array_stream_error PASSED [ 34%] | |
tests/test_c_array_stream.py::test_array_stream_from_arrays_schema PASSED [ 35%] | |
tests/test_c_array_stream.py::test_array_stream_from_arrays PASSED [ 35%] | |
tests/test_c_array_stream.py::test_array_stream_from_arrays_validate PASSED [ 36%] | |
tests/test_c_buffer.py::test_buffer_invalid PASSED [ 36%] | |
tests/test_c_buffer.py::test_c_buffer_constructor PASSED [ 36%] | |
tests/test_c_buffer.py::test_c_buffer_unsupported_format PASSED [ 37%] | |
tests/test_c_buffer.py::test_c_buffer_empty PASSED [ 37%] | |
tests/test_c_buffer.py::test_c_buffer_pybuffer PASSED [ 38%] | |
tests/test_c_buffer.py::test_c_buffer_unsupported_type PASSED [ 38%] | |
tests/test_c_buffer.py::test_c_buffer_missing_requested_schema PASSED [ 39%] | |
tests/test_c_buffer.py::test_c_buffer_pybuffer_with_schema PASSED [ 39%] | |
tests/test_c_buffer.py::test_c_buffer_integer PASSED [ 40%] | |
tests/test_c_buffer.py::test_numpy_c_buffer_numeric PASSED [ 40%] | |
tests/test_c_buffer.py::test_c_buffer_float PASSED [ 40%] | |
tests/test_c_buffer.py::test_c_buffer_string PASSED [ 41%] | |
tests/test_c_buffer.py::test_c_buffer_fixed_size_binary PASSED [ 41%] | |
tests/test_c_buffer.py::test_c_buffer_builder PASSED [ 42%] | |
tests/test_c_buffer.py::test_c_buffer_builder_buffer_protocol PASSED [ 42%] | |
tests/test_c_buffer.py::test_c_buffer_from_iterable PASSED [ 43%] | |
tests/test_c_buffer.py::test_c_buffer_from_fixed_size_binary_iterable PASSED [ 43%] | |
tests/test_c_buffer.py::test_c_buffer_from_day_time_iterable PASSED [ 43%] | |
tests/test_c_buffer.py::test_c_buffer_from_month_day_nano_iterable PASSED [ 44%] | |
tests/test_c_buffer.py::test_c_buffer_from_decimal128_iterable PASSED [ 44%] | |
tests/test_c_buffer.py::test_c_buffer_from_decimal256_iterable PASSED [ 45%] | |
tests/test_c_buffer.py::test_c_buffer_bitmap_from_iterable PASSED [ 45%] | |
tests/test_c_buffer.py::test_c_buffer_from_timestamp_iterable PASSED [ 46%] | |
tests/test_c_buffer.py::test_c_buffer_from_date64_iterable PASSED [ 46%] | |
tests/test_c_buffer.py::test_c_buffer_from_date32_iterable PASSED [ 46%] | |
tests/test_c_buffer.py::test_c_buffer_from_duration_iterable PASSED [ 47%] | |
tests/test_c_buffer_view.py::test_buffer_view_bool_ PASSED [ 47%] | |
tests/test_c_buffer_view.py::test_buffer_view_bool_unpack PASSED [ 48%] | |
tests/test_c_buffer_view.py::test_buffer_view_non_bool PASSED [ 48%] | |
tests/test_c_buffer_view.py::test_buffer_view_copy PASSED [ 49%] | |
tests/test_c_schema.py::test_c_schema_basic PASSED [ 49%] | |
tests/test_c_schema.py::test_c_schema_dictionary SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 50%] | |
tests/test_c_schema.py::test_schema_metadata PASSED [ 50%] | |
tests/test_c_schema.py::test_c_schema_view PASSED [ 50%] | |
tests/test_c_schema.py::test_c_schema_view_extra_params SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 51%] | |
tests/test_c_schema.py::test_c_schema_metadata PASSED [ 51%] | |
tests/test_c_schema.py::test_c_schema_equals PASSED [ 52%] | |
tests/test_c_schema.py::test_c_schema_assert_type_equal PASSED [ 52%] | |
tests/test_c_schema.py::test_c_schema_modify PASSED [ 53%] | |
tests/test_c_schema.py::test_c_schema_modify_children PASSED [ 53%] | |
tests/test_c_schema.py::test_c_schema_modify_dictionary PASSED [ 53%] | |
tests/test_c_schema_view.py::test_schema_view_accessors_basic PASSED [ 54%] | |
tests/test_c_schema_view.py::test_schema_view_accessors_fixed_size PASSED [ 54%] | |
tests/test_c_schema_view.py::test_schema_view_accessors_datetime PASSED [ 55%] | |
tests/test_c_schema_view.py::test_schema_view_accessors_decimal PASSED [ 55%] | |
tests/test_c_schema_view.py::test_schema_view_accessors_non_nullable PASSED [ 56%] | |
tests/test_c_schema_view.py::test_schema_view_layout_accessors PASSED [ 56%] | |
tests/test_device.py::test_cpu_device PASSED [ 56%] | |
tests/test_device.py::test_c_device_array PASSED [ 57%] | |
tests/test_device.py::test_c_device_array_from_dlpack SKIPPED (could not import 'cupy': No module named 'cupy') [ 57%] | |
tests/test_device.py::test_c_device_array_protocol PASSED [ 58%] | |
tests/test_dlpack.py::test_dlpack[value_type0-uint8] PASSED [ 58%] | |
tests/test_dlpack.py::test_dlpack[value_type1-uint16] PASSED [ 59%] | |
tests/test_dlpack.py::test_dlpack[value_type2-uint32] PASSED [ 59%] | |
tests/test_dlpack.py::test_dlpack[value_type3-uint64] PASSED [ 60%] | |
tests/test_dlpack.py::test_dlpack[value_type4-int8] PASSED [ 60%] | |
tests/test_dlpack.py::test_dlpack[value_type5-int16] PASSED [ 60%] | |
tests/test_dlpack.py::test_dlpack[value_type6-int32] PASSED [ 61%] | |
tests/test_dlpack.py::test_dlpack[value_type7-int64] PASSED [ 61%] | |
tests/test_dlpack.py::test_dlpack[value_type8-int32] PASSED [ 62%] | |
tests/test_dlpack.py::test_dlpack[value_type9-float16] PASSED [ 62%] | |
tests/test_dlpack.py::test_dlpack[value_type10-float32] PASSED [ 63%] | |
tests/test_dlpack.py::test_dlpack[value_type11-float64] PASSED [ 63%] | |
tests/test_dlpack.py::test_dlpack_not_supported PASSED [ 63%] | |
tests/test_dlpack.py::test_dlpack_cuda SKIPPED (could not import 'cupy': No module named 'cupy') [ 64%] | |
tests/test_ipc.py::test_ipc_stream_example PASSED [ 64%] | |
tests/test_ipc.py::test_ipc_stream_from_readable PASSED [ 65%] | |
tests/test_ipc.py::test_ipc_stream_from_path PASSED [ 65%] | |
tests/test_ipc.py::test_ipc_stream_from_url PASSED [ 66%] | |
tests/test_ipc.py::test_ipc_stream_python_exception_on_read PASSED [ 66%] | |
tests/test_ipc.py::test_ipc_stream_error_on_read PASSED [ 66%] | |
tests/test_ipc.py::test_writer_from_writable PASSED [ 67%] | |
tests/test_ipc.py::test_writer_from_path PASSED [ 67%] | |
tests/test_ipc.py::test_writer_write_stream_schema PASSED [ 68%] | |
tests/test_ipc.py::test_writer_serialize_stream PASSED [ 68%] | |
tests/test_ipc.py::test_writer_python_exception_on_write PASSED [ 69%] | |
tests/test_ipc.py::test_writer_error_on_write PASSED [ 69%] | |
tests/test_iterator.py::test_iterator_warnings PASSED [ 70%] | |
tests/test_iterator.py::test_array_view_iterator PASSED [ 70%] | |
tests/test_iterator.py::test_iterator_primitive PASSED [ 70%] | |
tests/test_iterator.py::test_iterator_nullable_primitive PASSED [ 71%] | |
tests/test_iterator.py::test_iterator_string[arrow_type0] PASSED [ 71%] | |
tests/test_iterator.py::test_iterator_string[arrow_type1] PASSED [ 72%] | |
tests/test_iterator.py::test_iterator_string[arrow_type2] PASSED [ 72%] | |
tests/test_iterator.py::test_iterator_nullable_string[arrow_type0] PASSED [ 73%] | |
tests/test_iterator.py::test_iterator_nullable_string[arrow_type1] PASSED [ 73%] | |
tests/test_iterator.py::test_iterator_nullable_string[arrow_type2] PASSED [ 73%] | |
tests/test_iterator.py::test_iterator_binary[arrow_type0] PASSED [ 74%] | |
tests/test_iterator.py::test_iterator_binary[arrow_type1] PASSED [ 74%] | |
tests/test_iterator.py::test_iterator_binary[arrow_type2] PASSED [ 75%] | |
tests/test_iterator.py::test_iterator_nullable_binary[arrow_type0] PASSED [ 75%] | |
tests/test_iterator.py::test_iterator_nullable_binary[arrow_type1] PASSED [ 76%] | |
tests/test_iterator.py::test_iterator_nullable_binary[arrow_type2] PASSED [ 76%] | |
tests/test_iterator.py::test_iter_tuples PASSED [ 76%] | |
tests/test_iterator.py::test_iter_tuples_nullable PASSED [ 77%] | |
tests/test_iterator.py::test_iter_tuples_errors PASSED [ 77%] | |
tests/test_iterator.py::test_iterator_struct PASSED [ 78%] | |
tests/test_iterator.py::test_iterator_nullable_struct PASSED [ 78%] | |
tests/test_iterator.py::test_iterator_list SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 79%] | |
tests/test_iterator.py::test_iterator_nullable_list SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 79%] | |
tests/test_iterator.py::test_iterator_fixed_size_list SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 80%] | |
tests/test_iterator.py::test_iterator_nullable_fixed_size_list SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 80%] | |
tests/test_iterator.py::test_iterator_dictionary SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 80%] | |
tests/test_iterator.py::test_iterator_nullable_dictionary SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 81%] | |
tests/test_iterator.py::test_iterator_decimal SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 81%] | |
tests/test_iterator.py::test_iterator_date SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 82%] | |
tests/test_iterator.py::test_iterator_time SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 82%] | |
tests/test_iterator.py::test_iterator_time_invalid PASSED [ 83%] | |
tests/test_iterator.py::test_iterator_timestamp SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 83%] | |
tests/test_iterator.py::test_iterator_timestamp_tz SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 83%] | |
tests/test_iterator.py::test_iterator_lossy_timestamp PASSED [ 84%] | |
tests/test_iterator.py::test_get_tzinfo FAILED [ 84%] | |
tests/test_iterator.py::test_iterator_duration SKIPPED (could not import 'pyarrow': No module named 'pyarrow') [ 85%] | |
tests/test_iterator.py::test_iterator_extension PASSED [ 85%] | |
tests/test_iterator.py::test_iterator_null PASSED [ 86%] | |
tests/test_schema.py::test_type_schema_protocol PASSED [ 86%] | |
tests/test_schema.py::test_time_unit_create PASSED [ 86%] | |
tests/test_schema.py::test_schema_create_c_schema PASSED [ 87%] | |
tests/test_schema.py::test_schema_create_no_params PASSED [ 87%] | |
tests/test_schema.py::test_schema_simple PASSED [ 88%] | |
tests/test_schema.py::test_schema_fixed_size_binary PASSED [ 88%] | |
tests/test_schema.py::test_schema_time PASSED [ 89%] | |
tests/test_schema.py::test_schema_timestamp PASSED [ 89%] | |
tests/test_schema.py::test_schema_duration PASSED [ 90%] | |
tests/test_schema.py::test_schema_decimal PASSED [ 90%] | |
tests/test_schema.py::test_schema_struct PASSED [ 90%] | |
tests/test_schema.py::test_schema_list_ PASSED [ 91%] | |
tests/test_schema.py::test_schema_large_list PASSED [ 91%] | |
tests/test_schema.py::test_schema_fixed_size_list PASSED [ 92%] | |
tests/test_schema.py::test_schema_dictionary PASSED [ 92%] | |
tests/test_schema.py::test_schema_extension PASSED [ 93%] | |
tests/test_schema.py::test_schema_alias_constructor PASSED [ 93%] | |
tests/test_schema.py::test_schema_serialize PASSED [ 93%] | |
tests/test_schema.py::test_schema_repr PASSED [ 94%] | |
tests/test_version.py::test_version PASSED [ 94%] | |
tests/test_version.py::test_c_version PASSED [ 95%] | |
tests/test_visitor.py::test_to_pylist PASSED [ 95%] | |
tests/test_visitor.py::test_convert PASSED [ 96%] | |
tests/test_visitor.py::test_convert_non_nullable PASSED [ 96%] | |
tests/test_visitor.py::test_convert_columns PASSED [ 96%] | |
tests/test_visitor.py::test_contiguous_buffer_converter PASSED [ 97%] | |
tests/test_visitor.py::test_contiguous_buffer_converter_with_offsets PASSED [ 97%] | |
tests/test_visitor.py::test_boolean_bytes_converter PASSED [ 98%] | |
tests/test_visitor.py::test_boolean_bytes_converter_with_offsets PASSED [ 98%] | |
tests/test_visitor.py::test_nullable_converter PASSED [ 99%] | |
tests/test_visitor.py::test_nulls_forbid PASSED [ 99%] | |
tests/test_visitor.py::test_numpy_null_handling PASSED [100%] | |
================================================================= FAILURES ================================================================= | |
_____________________________________________________________ test_get_tzinfo ______________________________________________________________ | |
def test_get_tzinfo(): | |
from nanoarrow.iterator import _get_tzinfo | |
dt = datetime.datetime(2020, 1, 2, 3, 4, 5) | |
assert dt.replace(tzinfo=_get_tzinfo("UTC")).utcoffset() == datetime.timedelta(0) | |
assert dt.replace(tzinfo=_get_tzinfo("utc")).utcoffset() == datetime.timedelta(0) | |
assert dt.replace(tzinfo=_get_tzinfo("+03:30")).utcoffset() == datetime.timedelta( | |
hours=3, minutes=30 | |
) | |
assert dt.replace(tzinfo=_get_tzinfo("-03:30")).utcoffset() == datetime.timedelta( | |
hours=-3, minutes=-30 | |
) | |
pytest.importorskip("zoneinfo") | |
pytest.importorskip("dateutil") | |
if os.name == "nt": | |
pytest.importorskip("tzdata") | |
tz_zoneinfo = _get_tzinfo("America/Halifax", strategy=["zoneinfo"]) | |
tz_dateutil = _get_tzinfo("America/Halifax", strategy=["dateutil"]) | |
for tz in [tz_zoneinfo, tz_dateutil]: | |
> assert dt.replace(tzinfo=tz).utcoffset() == datetime.timedelta(hours=-4) | |
E AssertionError: assert datetime.timedelta(0) == datetime.timedelta(days=-1, seconds=72000) | |
E + where datetime.timedelta(0) = <built-in method utcoffset of datetime.datetime object at 0x7f17869c6100>() | |
E + where <built-in method utcoffset of datetime.datetime object at 0x7f17869c6100> = datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')).utcoffset | |
E + where datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')) = <built-in method replace of datetime.datetime object at 0x7f17867ccba0>(tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')) | |
E + where <built-in method replace of datetime.datetime object at 0x7f17867ccba0> = datetime.datetime(2020, 1, 2, 3, 4, 5).replace | |
E + and datetime.timedelta(days=-1, seconds=72000) = <class 'datetime.timedelta'>(hours=-4) | |
E + where <class 'datetime.timedelta'> = datetime.timedelta | |
tests/test_iterator.py:490: AssertionError | |
========================================================= short test summary info ========================================================== | |
FAILED tests/test_iterator.py::test_get_tzinfo - AssertionError: assert datetime.timedelta(0) == datetime.timedelta(days=-1, seconds=72000) | |
+ where datetime.timedelta(0) = <built-in method utcoffset of datetime.datetime object at 0x7f17869c6100>() | |
+ where <built-in method utcoffset of datetime.datetime object at 0x7f17869c6100> = datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')).utcoffset | |
+ where datetime.datetime(2020, 1, 2, 3, 4, 5, tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')) = <built-in method replace of datetime.datetime object at 0x7f17867ccba0>(tzinfo=tzfile('/usr/share/zoneinfo/America/Halifax')) | |
+ where <built-in method replace of datetime.datetime object at 0x7f17867ccba0> = datetime.datetime(2020, 1, 2, 3, 4, 5).replace | |
+ and datetime.timedelta(days=-1, seconds=72000) = <class 'datetime.timedelta'>(hours=-4) | |
+ where <class 'datetime.timedelta'> = datetime.timedelta | |
================================================ 1 failed, 207 passed, 24 skipped in 0.78s ================================================= | |
Failed to verify release candidate. See /tmp/nanoarrow-0.6.0.UP7Lid for details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment