mirror of
https://github.com/espressif/esp-idf.git
synced 2026-01-01 16:42:24 +00:00
pytest_panic used to do 'from conftest import PanicTestDut'. This stopped working when another conftest.py file was added in tools/test_build_system/conftest.py. In this case we can't rename conftest.py since both are necessary for pytest to install the hooks in the respective test cases. Fix by moving PanicTestDut into a separate module, then importing it from there.