(self, pytester: Pytester)
| 612 | ) |
| 613 | |
| 614 | def test_serialization_byid(self, pytester: Pytester) -> None: |
| 615 | pytester.makepyfile("def test_func(): pass") |
| 616 | items, hookrec = pytester.inline_genitems() |
| 617 | assert len(items) == 1 |
| 618 | (item,) = items |
| 619 | items2, hookrec = pytester.inline_genitems(item.nodeid) |
| 620 | (item2,) = items2 |
| 621 | assert item2.name == item.name |
| 622 | assert item2.path == item.path |
| 623 | |
| 624 | def test_find_byid_without_instance_parents(self, pytester: Pytester) -> None: |
| 625 | p = pytester.makepyfile( |
nothing calls this directly
no test coverage detected