Skip to content

Commit

Permalink
Reduce line length to less than 80
Browse files Browse the repository at this point in the history
References: sqlalchemy#1509
  • Loading branch information
pristupa committed Jul 26, 2024
1 parent 00a1a04 commit a4d2a1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ def test_version_locations(self, separator, string_value, expected_result):
cfg.set_main_option("version_locations", string_value)

if isinstance(expected_result, ValueError):
with expect_raises_message(ValueError, str(expected_result), text_exact=True):
message = str(expected_result)
with expect_raises_message(ValueError, message, text_exact=True):
ScriptDirectory.from_config(cfg)
else:
s = ScriptDirectory.from_config(cfg)
Expand Down

0 comments on commit a4d2a1e

Please sign in to comment.