remove unused code
This commit is contained in:
parent
fb173a97a8
commit
ca281b7c1b
|
@ -1286,12 +1286,6 @@ scopenum_subfunction = scopes.index("subfunction")
|
||||||
def scopemismatch(currentscope, newscope):
|
def scopemismatch(currentscope, newscope):
|
||||||
return scopes.index(newscope) > scopes.index(currentscope)
|
return scopes.index(newscope) > scopes.index(currentscope)
|
||||||
|
|
||||||
def slice_kwargs(names, kwargs):
|
|
||||||
new_kwargs = {}
|
|
||||||
for name in names:
|
|
||||||
new_kwargs[name] = kwargs[name]
|
|
||||||
return new_kwargs
|
|
||||||
|
|
||||||
class FixtureLookupError(LookupError):
|
class FixtureLookupError(LookupError):
|
||||||
""" could not return a requested Fixture (missing or invalid). """
|
""" could not return a requested Fixture (missing or invalid). """
|
||||||
def __init__(self, argname, request, msg=None):
|
def __init__(self, argname, request, msg=None):
|
||||||
|
|
Loading…
Reference in New Issue