This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.
commit: 9550ea6
buildURL: Build Status, Sponge
status: failed
Test output
class_under_test =
mock_gapic_client =
def test_to_dataframe_w_scalars_arrow(class_under_test, mock_gapic_client):
arrow_schema = _bq_to_arrow_schema(SCALAR_COLUMNS)
arrow_batches = _bq_to_arrow_batches(SCALAR_BLOCKS, arrow_schema)
mock_gapic_client.read_rows.return_value = arrow_batches
reader = class_under_test(mock_gapic_client, "", 0, {})
got = reader.to_dataframe()
expected = pandas.DataFrame(
list(itertools.chain.from_iterable(SCALAR_BLOCKS)), columns=SCALAR_COLUMN_NAMES
)
pandas.testing.assert_frame_equal(
got.reset_index(drop=True), # reset_index to ignore row labels
expected.reset_index(drop=True),
)
E AssertionError: Attributes of DataFrame.iloc[:, 8] (column name="ts_col") are different
E
E Attribute "dtype" are different
E [left]: datetime64[us, UTC]
E [right]: datetime64[ns, UTC]
tests/unit/test_reader_v1_arrow.py:186: AssertionError
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quietlabel andI will stop commenting.
commit: 9550ea6
buildURL: Build Status, Sponge
status: failed
Test output