Upgrade pre-commit hooks except pyupgrade
This commit is contained in:
@@ -28,9 +28,7 @@ def ConftestWithSetinitial(path):
|
||||
|
||||
|
||||
def conftest_setinitial(conftest, args, confcutdir=None):
|
||||
|
||||
class Namespace(object):
|
||||
|
||||
def __init__(self):
|
||||
self.file_or_dir = args
|
||||
self.confcutdir = str(confcutdir)
|
||||
@@ -40,7 +38,6 @@ def conftest_setinitial(conftest, args, confcutdir=None):
|
||||
|
||||
|
||||
class TestConftestValueAccessGlobal(object):
|
||||
|
||||
def test_basic_init(self, basedir):
|
||||
conftest = PytestPluginManager()
|
||||
p = basedir.join("adir")
|
||||
@@ -311,7 +308,6 @@ def test_conftest_found_with_double_dash(testdir):
|
||||
|
||||
|
||||
class TestConftestVisibility(object):
|
||||
|
||||
def _setup_tree(self, testdir): # for issue616
|
||||
# example mostly taken from:
|
||||
# https://mail.python.org/pipermail/pytest-dev/2014-September/002617.html
|
||||
|
||||
Reference in New Issue
Block a user