Skip to content

Commit c567fb8

Browse files
committed
Remove transfer_markers
Closes #104 Tests still pass - am I missing anything?
1 parent f366ee9 commit c567fb8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pytest_asyncio/plugin.py

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import socket
77

88
import pytest
9-
from _pytest.python import transfer_markers
109

1110
try:
1211
from async_generator import isasyncgenfunction
@@ -36,7 +35,6 @@ def pytest_pycollect_makeitem(collector, name, obj):
3635
# Due to how pytest test collection works, module-level pytestmarks
3736
# are applied after the collection step. Since this is the collection
3837
# step, we look ourselves.
39-
transfer_markers(obj, item.cls, item.module)
4038
item = pytest.Function(name, parent=collector) # To reload keywords.
4139

4240
if 'asyncio' in item.keywords:

0 commit comments

Comments
 (0)