Skip to content

Commit fd98f55

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 8d051d5 commit fd98f55

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
@@ -23,7 +23,7 @@ def test_database_constructor_with_invalid_connection(invalid_connection_string)
2323

2424
# Should raise RuntimeError for connection failure
2525
with pytest.raises(RuntimeError):
26-
db = mollerdb.Database(invalid_connection_string)
26+
mollerdb.Database(invalid_connection_string)
2727

2828

2929
def test_database_has_get_main_detector_results_method():

0 commit comments

Comments
 (0)