Dear Maintainer, please find attached a patch to fix this issue. Anyway new version for aiorwlock was released upstream and affected code was changed. FWIW, packaging aiorwlock 1.0.0 solves this bug.
Kind Regards.
Index: aiorwlock-0.6.0/tests/conftest.py =================================================================== --- aiorwlock-0.6.0.orig/tests/conftest.py +++ aiorwlock-0.6.0/tests/conftest.py @@ -42,7 +42,7 @@ def loop(request, loop_type, debug): @pytest.mark.tryfirst def pytest_pycollect_makeitem(collector, name, obj): if collector.funcnamefilter(name): - item = pytest.Function(name, parent=collector) + item = pytest.Function.from_parent(collector, name=name) if 'run_loop' in item.keywords: return list(collector._genfunctions(name, obj))