Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kalombos committed Oct 21, 2024
1 parent c354526 commit c882d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FakeConnectionError(Exception):


@dbs_all
async def test_transaction_error_on_begin(db: AioDatabase, mocker: MockerFixture, enable_debug_log_level) -> None:
async def test_transaction_error_on_begin(db: AioDatabase, mocker: MockerFixture) -> None:
mocker.patch.object(Transaction, "begin", side_effect=FakeConnectionError)
with pytest.raises(FakeConnectionError):
async with db.aio_atomic():
Expand Down

0 comments on commit c882d9d

Please sign in to comment.