lint fixes

This commit is contained in:
Maxim Devaev
2024-05-13 17:52:04 +03:00
parent bf87f036d3
commit 9158abfab4
10 changed files with 23 additions and 24 deletions

View File

@@ -111,7 +111,7 @@ async def test_fail__region__access_two() -> None:
results = await asyncio.gather(func1(), func2(), return_exceptions=True)
assert results[0] is None
assert type(results[1]) == RegionIsBusyError # pylint: disable=unidiomatic-typecheck
assert type(results[1]) is RegionIsBusyError # pylint: disable=unidiomatic-typecheck
assert not region.is_busy()
await region.exit()