(pytester: Pytester)
| 992 | |
| 993 | |
| 994 | def test_modulecol_roundtrip(pytester: Pytester) -> None: |
| 995 | modcol = pytester.getmodulecol("pass", withinit=False) |
| 996 | trail = modcol.nodeid |
| 997 | newcol = modcol.session.perform_collect([trail], genitems=0)[0] |
| 998 | assert modcol.name == newcol.name |
| 999 | |
| 1000 | |
| 1001 | class TestTracebackCutting: |
nothing calls this directly
no test coverage detected