Skip to content

Commit

Permalink
add comment about preprocessors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rerpha committed Oct 8, 2024
1 parent bafea5b commit 49d2c77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
def RE() -> RunEngine:
get_run_engine.cache_clear()
re = get_run_engine()
# Clear the preprocessors as the file writing one relies
# on a real signal which won't exist during testing
re.preprocessors.clear()

return re

0 comments on commit 49d2c77

Please sign in to comment.