Skip to content

tests.sqlalchemy_dialect_compliance.test_dialect_compliance.TimestampMicrosecondsTest_bigquery+bigquery: test_literal failed #187

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

Test output
Traceback (most recent call last):
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/tests/sqlalchemy_dialect_compliance/test_dialect_compliance.py", line 124, in test_literal
    super(TimestampMicrosecondsTest, self).test_literal(literal_round_trip)
  File "", line 2, in test_literal
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/exclusions.py", line 104, in decorate
    return self._do(config._current, fn, *args, **kw)
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/exclusions.py", line 134, in _do
    self._expect_failure(cfg, ex, name=fn.__name__)
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/exclusions.py", line 156, in _expect_failure
    util.raise_(ex, with_traceback=sys.exc_info()[2])
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 207, in raise_
    raise exception
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/exclusions.py", line 132, in _do
    return_value = fn(*args, **kw)
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/suite/test_types.py", line 350, in test_literal
    literal_round_trip(self.datatype, [self.data], [compare])
  File "/tmpfs/src/github/python-bigquery-sqlalchemy/.nox/compliance-3-9/lib/python3.9/site-packages/sqlalchemy/testing/suite/test_types.py", line 66, in run
    .values(x=literal(value, type_))
TypeError: literal() takes 1 positional argument but 2 were given

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery-sqlalchemy 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: p1Important issue which blocks shipping the next release. Will be fixed prior to 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