Factor out py.std

This commit is contained in:
Anthony Sottile
2018-07-05 15:35:39 -07:00
parent 8d94fca964
commit 78fcf725cf
5 changed files with 29 additions and 23 deletions

View File

@@ -10,6 +10,7 @@
import py
import pytest
import sys
import time
import execnet
@@ -228,7 +229,7 @@ class StatRecorder(object):
changed = self.check()
if changed:
return
py.std.time.sleep(checkinterval)
time.sleep(checkinterval)
def check(self, removepycfiles=True): # noqa, too complex
changed = False