unstructured
fe300fe5 - fix: teardown fixture for tests and update pre-commit-config (#2565)

Commit
1 year ago
fix: teardown fixture for tests and update pre-commit-config (#2565) Files were being created as a side effect from running tests in `test_unstructured/metrics/test_evaluate.py`. The updated decorator removes the created directory and its files after the tests run. Testing on the main branch, run `make test` or `pytest test_unstructured/metrics/test_evaluate.py` and files will be created. On this branch no files are created
Author
Parents
Loading