Revert "dont show loop blocking warnings when running tests in CI"

This reverts commit 25d97afa60.
This commit is contained in:
Alex Grintsvayg 2019-11-22 20:27:10 -05:00
parent 25d97afa60
commit 6022339091
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -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