parent
063e2da967
commit
82cdc487ce
|
@ -831,9 +831,9 @@ def _ensure_immutable_ids(ids):
|
||||||
@attr.s(frozen=True)
|
@attr.s(frozen=True)
|
||||||
class FixtureFunctionMarker(object):
|
class FixtureFunctionMarker(object):
|
||||||
scope = attr.ib()
|
scope = attr.ib()
|
||||||
params = attr.ib(convert=attr.converters.optional(tuple))
|
params = attr.ib(converter=attr.converters.optional(tuple))
|
||||||
autouse = attr.ib(default=False)
|
autouse = attr.ib(default=False)
|
||||||
ids = attr.ib(default=None, convert=_ensure_immutable_ids)
|
ids = attr.ib(default=None, converter=_ensure_immutable_ids)
|
||||||
name = attr.ib(default=None)
|
name = attr.ib(default=None)
|
||||||
|
|
||||||
def __call__(self, function):
|
def __call__(self, function):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -59,7 +59,7 @@ def main():
|
||||||
'py>=1.5.0',
|
'py>=1.5.0',
|
||||||
'six>=1.10.0',
|
'six>=1.10.0',
|
||||||
'setuptools',
|
'setuptools',
|
||||||
'attrs>=17.2.0',
|
'attrs>=17.4.0',
|
||||||
]
|
]
|
||||||
# if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy;
|
# if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy;
|
||||||
# used by tox.ini to test with pluggy master
|
# used by tox.ini to test with pluggy master
|
||||||
|
|
Loading…
Reference in New Issue