fix flakes failures
This commit is contained in:
parent
2dade6ed00
commit
505a34bb85
|
@ -415,7 +415,7 @@ def test_rewritten():
|
|||
reason='packages without __init__.py not supported on python 2')
|
||||
def test_package_without__init__py(self, testdir):
|
||||
pkg = testdir.mkdir('a_package_without_init_py')
|
||||
mod = pkg.join('module.py').ensure()
|
||||
pkg.join('module.py').ensure()
|
||||
testdir.makepyfile("import a_package_without_init_py.module")
|
||||
assert testdir.runpytest().ret == 0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import py, pytest
|
||||
import pytest
|
||||
|
||||
def setup_module(mod):
|
||||
mod.nose = pytest.importorskip("nose")
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import py
|
||||
import pytest
|
||||
import os
|
||||
from _pytest.pytester import HookRecorder
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import pytest, py
|
||||
import pytest
|
||||
|
||||
class SessionTests:
|
||||
def test_basic_testitem_events(self, testdir):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import py, pytest
|
||||
import pytest
|
||||
|
||||
from _pytest.tmpdir import tmpdir, TempdirHandler
|
||||
|
||||
|
|
Loading…
Reference in New Issue