Fix typo "pytest-a(s)yncio"

This commit is contained in:
Carlos Nihelton 2022-05-18 07:50:00 -03:00
parent 13a23a4b46
commit 6b3609ae3a
No known key found for this signature in database
GPG Key ID: 6FE346D245197E9A
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def tearDownModule() -> None:
# closes the loop during tear down, though. It doesn't touch the policy. # closes the loop during tear down, though. It doesn't touch the policy.
# By having it as None, it autoinits and the next tests run smoothly. # By having it as None, it autoinits and the next tests run smoothly.
# Another approach would be set a new event_loop for the current policy on # Another approach would be set a new event_loop for the current policy on
# test fixture tearDown, as pytest-ayncio does. # test fixture tearDown, as pytest-asyncio does.
# Either way we would prevent failure on tests that depend on [run_coro] # Either way we would prevent failure on tests that depend on [run_coro]
# (subiquitycore/tests/util.py), for instance. # (subiquitycore/tests/util.py), for instance.
asyncio.set_event_loop_policy(None) asyncio.set_event_loop_policy(None)