(self, pytester: Pytester)
| 105 | assert items[0].parent is items[1].parent |
| 106 | |
| 107 | def test_simple_doctestfile(self, pytester: Pytester): |
| 108 | p = pytester.maketxtfile( |
| 109 | test_doc=""" |
| 110 | >>> x = 1 |
| 111 | >>> x == 1 |
| 112 | False |
| 113 | """ |
| 114 | ) |
| 115 | reprec = pytester.inline_run(p) |
| 116 | reprec.assertoutcome(failed=1) |
| 117 | |
| 118 | def test_importmode(self, pytester: Pytester): |
| 119 | pytester.makepyfile( |
nothing calls this directly
no test coverage detected