Inline PyobjContext

When it was introduced in 8adac2878f it
seems to have had some use, but now it doesn't.
This commit is contained in:
Ran Benita 2020-03-06 14:47:04 +02:00
parent fcd3fad03d
commit b7f2e3d4f5
1 changed files with 1 additions and 4 deletions

View File

@ -249,13 +249,10 @@ def pytest_pycollect_makeitem(collector, name, obj):
outcome.force_result(res)
class PyobjContext:
class PyobjMixin:
module = pyobj_property("Module")
cls = pyobj_property("Class")
instance = pyobj_property("Instance")
class PyobjMixin(PyobjContext):
_ALLOW_MARKERS = True
@property