IS
Есть такой код:
def pytest_exception_interact():
with allure.step('Screenshot'):
last_screenshot = browser.config.last_screenshot
allure.attach.file(
name='screenshot',
source=last_screenshot,
attachment_type=allure.attachment_type.PNG,
)
В случае падения теста, он должен в отчёт положить скрин... но при падении сейчас получаю
INTERNALERROR> TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType



