Skip to content

Commit b7f2e3d

Browse files
committed
Inline PyobjContext
When it was introduced in 8adac28 it seems to have had some use, but now it doesn't.
1 parent fcd3fad commit b7f2e3d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/_pytest/python.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,10 @@ def pytest_pycollect_makeitem(collector, name, obj):
249249
outcome.force_result(res)
250250

251251

252-
class PyobjContext:
252+
class PyobjMixin:
253253
module = pyobj_property("Module")
254254
cls = pyobj_property("Class")
255255
instance = pyobj_property("Instance")
256-
257-
258-
class PyobjMixin(PyobjContext):
259256
_ALLOW_MARKERS = True
260257

261258
@property

0 commit comments

Comments
 (0)