Fixed E302 flake8 errors
expected 2 blank lines, found 0
This commit is contained in:
@@ -76,6 +76,7 @@ def test_wrapped_getfslineno():
|
||||
fs2, lineno2 = python.getfslineno(wrap)
|
||||
assert lineno > lineno2, "getfslineno does not unwrap correctly"
|
||||
|
||||
|
||||
class TestMockDecoration(object):
|
||||
def test_wrapped_getfuncargnames(self):
|
||||
from _pytest.compat import getfuncargnames
|
||||
@@ -246,6 +247,7 @@ class TestReRunTests(object):
|
||||
*2 passed*
|
||||
""")
|
||||
|
||||
|
||||
def test_pytestconfig_is_session_scoped():
|
||||
from _pytest.fixtures import pytestconfig
|
||||
assert pytestconfig._pytestfixturefunction.scope == "session"
|
||||
|
||||
Reference in New Issue
Block a user