mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
lint fixes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user