Revert "dont show loop blocking warnings when running tests in CI"
This reverts commit 25d97afa60
.
This commit is contained in:
parent
25d97afa60
commit
6022339091
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
import os
|
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
import functools
|
import functools
|
||||||
|
@ -62,7 +61,7 @@ class AsyncioTestCase(unittest.TestCase):
|
||||||
# Implementation inspired by discussion:
|
# Implementation inspired by discussion:
|
||||||
# https://bugs.python.org/issue32972
|
# https://bugs.python.org/issue32972
|
||||||
|
|
||||||
LOOP_SLOW_CALLBACK_DURATION = 10 if os.environ.get('CI', False) else 0.2 # dont show warning when CI runs tests
|
LOOP_SLOW_CALLBACK_DURATION = 0.2
|
||||||
|
|
||||||
maxDiff = None
|
maxDiff = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue