Skip to content

Commit 8d051d5

Browse files
Potential fix for pull request finding 'Unused local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 9c6cb16 commit 8d051d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/python/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_database_constructor_with_connection_string(mock_connection_string):
1414
# This will throw a RuntimeError since we can't connect to a real database
1515
# We're testing that the constructor accepts the string and attempts connection
1616
with pytest.raises(RuntimeError):
17-
db = mollerdb.Database(mock_connection_string)
17+
mollerdb.Database(mock_connection_string)
1818

1919

2020
def test_database_constructor_with_invalid_connection(invalid_connection_string):

0 commit comments

Comments
 (0)