Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias committed Feb 14, 2025
1 parent e3a0f74 commit 131a90f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/integration/sqlalchemy/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ def test_long_convention_name(self, type_, connection):
assert len(actual_name) > 255

if reflected_name is not None:
overlap = actual_name[0: len(reflected_name)]
overlap = actual_name[0 : len(reflected_name)]
if len(overlap) < len(actual_name):
eq_(overlap[0:-5], reflected_name[0: len(overlap) - 5])
eq_(overlap[0:-5], reflected_name[0 : len(overlap) - 5])
else:
eq_(overlap, reflected_name)

Expand All @@ -265,11 +265,12 @@ def test_null_in_empty_set_is_false(self):


class ExceptionTest(_ExceptionTest):
RATIONALE = "This is likely a driver issue. We will investigate it in " \
"https://github.com/exasol/sqlalchemy-exasol/issues/539."
RATIONALE = (
"This is likely a driver issue. We will investigate it in "
"https://github.com/exasol/sqlalchemy-exasol/issues/539."
)

@pytest.mark.xfail("odbc" in testing.db.dialect.driver,
reason=RATIONALE)
@pytest.mark.xfail("odbc" in testing.db.dialect.driver, reason=RATIONALE)
@requirements.duplicate_key_raises_integrity_error
def test_integrity_error(self):
# Note: autocommit currently is needed to force error evaluation,
Expand Down

0 comments on commit 131a90f

Please sign in to comment.