test(pytest): remove unused variables and clean other minor lint to please ruff

This commit is contained in:
Jens Troeger
2025-10-10 13:23:05 -05:00
committed by Steve Chavez
parent 4d764500b1
commit 041d4f8ed2
3 changed files with 14 additions and 19 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ def test_plain_get(defaultenv):
def test_no_pool_connection_available(defaultenv):
"no_pool_connection_available option is functional"
with run(env=defaultenv, no_pool_connection_available=True) as postgrest:
with pytest.raises(Exception) as e:
with pytest.raises(Exception):
postgrest.session.get("/projects", timeout=1)