Skip to content

Commit 580edc1

Browse files
authored
Merge pull request #6867 from bluetech/inline-pyobjmixin
Inline PyobjContext
2 parents 1df593f + b7f2e3d commit 580edc1

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)