Issue #26940: Merge 3.6.
This commit is contained in:
commit
cd35959bfc
|
@ -57,7 +57,7 @@ if threading is not None:
|
|||
def setUp(self):
|
||||
try:
|
||||
self.old_switchinterval = sys.getswitchinterval()
|
||||
sys.setswitchinterval(0.000001)
|
||||
support.setswitchinterval(0.000001)
|
||||
except AttributeError:
|
||||
self.old_switchinterval = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue