Skip to content

Commit 944e5c2

Browse files
authored
Update test_session.py
1 parent eb4138e commit 944e5c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_session.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ async def test_init_incorrect_optional_args(app, SQLAlchemyMiddleware):
5050
with pytest.raises(TypeError) as exc_info:
5151
SQLAlchemyMiddleware(app, db_url=db_url, invalid_args="test")
5252

53-
assert (
54-
"__init__() got an unexpected keyword argument 'invalid_args'"
55-
in exc_info.value.args[0]
56-
)
53+
assert "__init__() got an unexpected keyword argument 'invalid_args'" in exc_info.value.args[0]
5754

5855

5956
@pytest.mark.asyncio

0 commit comments

Comments
 (0)