sort out import misstake
This commit is contained in:
parent
935dd3aaa5
commit
2cd69cf632
|
@ -3,11 +3,15 @@ from __future__ import absolute_import, division, print_function
|
||||||
from _pytest.config import UsageError
|
from _pytest.config import UsageError
|
||||||
from .structures import (
|
from .structures import (
|
||||||
ParameterSet, EMPTY_PARAMETERSET_OPTION, MARK_GEN,
|
ParameterSet, EMPTY_PARAMETERSET_OPTION, MARK_GEN,
|
||||||
Mark, MarkInfo, MarkDecorator,
|
Mark, MarkInfo, MarkDecorator, MarkGenerator,
|
||||||
|
transfer_markers, get_empty_parameterset_mark
|
||||||
)
|
)
|
||||||
from .legacy import matchkeyword, matchmark
|
from .legacy import matchkeyword, matchmark
|
||||||
|
|
||||||
__all__ = ['Mark', 'MarkInfo', 'MarkDecorator']
|
__all__ = [
|
||||||
|
'Mark', 'MarkInfo', 'MarkDecorator', 'MarkGenerator',
|
||||||
|
'transfer_markers', 'get_empty_parameterset_mark'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class MarkerError(Exception):
|
class MarkerError(Exception):
|
||||||
|
|
|
@ -28,7 +28,7 @@ from _pytest.compat import (
|
||||||
safe_str, getlocation, enum,
|
safe_str, getlocation, enum,
|
||||||
)
|
)
|
||||||
from _pytest.outcomes import fail
|
from _pytest.outcomes import fail
|
||||||
from _pytest.mark.legacy import transfer_markers
|
from _pytest.mark.structures import transfer_markers
|
||||||
|
|
||||||
|
|
||||||
# relative paths that we use to filter traceback entries from appearing to the user;
|
# relative paths that we use to filter traceback entries from appearing to the user;
|
||||||
|
|
Loading…
Reference in New Issue