(fixturefunc, msg: str)
| 899 | |
| 900 | |
| 901 | def fail_fixturefunc(fixturefunc, msg: str) -> "NoReturn": |
| 902 | fs, lineno = getfslineno(fixturefunc) |
| 903 | location = f"{fs}:{lineno + 1}" |
| 904 | source = _pytest._code.Source(fixturefunc) |
| 905 | fail(msg + ":\n\n" + str(source.indent()) + "\n" + location, pytrace=False) |
| 906 | |
| 907 | |
| 908 | def call_fixture_func( |
no test coverage detected