diff options
Diffstat (limited to 'testenv/tests/test_aiotools.py')
-rw-r--r-- | testenv/tests/test_aiotools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testenv/tests/test_aiotools.py b/testenv/tests/test_aiotools.py index 8c4f65a4..048b1f9c 100644 --- a/testenv/tests/test_aiotools.py +++ b/testenv/tests/test_aiotools.py @@ -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() |