Merge pull request #6867 from bluetech/inline-pyobjmixin
Inline PyobjContext
This commit is contained in:
commit
580edc13e7
|
@ -249,13 +249,10 @@ def pytest_pycollect_makeitem(collector, name, obj):
|
||||||
outcome.force_result(res)
|
outcome.force_result(res)
|
||||||
|
|
||||||
|
|
||||||
class PyobjContext:
|
class PyobjMixin:
|
||||||
module = pyobj_property("Module")
|
module = pyobj_property("Module")
|
||||||
cls = pyobj_property("Class")
|
cls = pyobj_property("Class")
|
||||||
instance = pyobj_property("Instance")
|
instance = pyobj_property("Instance")
|
||||||
|
|
||||||
|
|
||||||
class PyobjMixin(PyobjContext):
|
|
||||||
_ALLOW_MARKERS = True
|
_ALLOW_MARKERS = True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in New Issue