Skip to content

tests.unit.test_gbq: test_to_gbq_wo_verbose_w_new_pandas_no_warnings failed #465

Closed
@flaky-bot

Description

@flaky-bot

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: 4beeb54
buildURL: Build Status, Sponge
status: failed

Test output
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa1147a0400>
recwarn = WarningsRecorder(record=True)
def test_to_gbq_wo_verbose_w_new_pandas_no_warnings(monkeypatch, recwarn):
    monkeypatch.setattr(
        type(FEATURES),
        "pandas_has_deprecated_verbose",
        mock.PropertyMock(return_value=True),
    )
    try:
        gbq.to_gbq(DataFrame([[1]]), "dataset.tablename", project_id="my-project")
    except gbq.TableCreationError:
        pass
  assert len(recwarn) == 0

E assert 1 == 0
E + where 1 = len(WarningsRecorder(record=True))

tests/unit/test_gbq.py:189: AssertionError

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions