Merge pull request #306 from asottile/factor_out_py_std

Factor out py.std
This commit is contained in:
Bruno Oliveira
2018-07-06 22:21:56 -03:00
committed by GitHub
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