Fix lint
This commit is contained in:
parent
870a93c37b
commit
fe7050ba00
|
@ -1065,7 +1065,7 @@ class Testdir(object):
|
|||
popen = self.popen(
|
||||
cmdargs, stdout=f1, stderr=f2, close_fds=(sys.platform != "win32")
|
||||
)
|
||||
timeout = kwargs.get('timeout')
|
||||
timeout = kwargs.get("timeout")
|
||||
if timeout is None:
|
||||
ret = popen.wait()
|
||||
elif six.PY3:
|
||||
|
|
|
@ -3,7 +3,6 @@ from __future__ import absolute_import, division, print_function
|
|||
import os
|
||||
import py.path
|
||||
import pytest
|
||||
import subprocess
|
||||
import sys
|
||||
import _pytest.pytester as pytester
|
||||
from _pytest.pytester import HookRecorder
|
||||
|
@ -413,7 +412,7 @@ def test_testdir_run_timeout_expires(testdir):
|
|||
testfile = testdir.makepyfile(
|
||||
"""
|
||||
import time
|
||||
|
||||
|
||||
def test_timeout():
|
||||
time.sleep(10)"""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue