Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pytest Style: test_log.py #1467
All occurrences of
assert_raises should be replaced by the pytest equivalent. The deactivated
assert_warn at the end of the file should be reactivated and moved to the pytest idiom.
The tests about the progress bar can probably be refactored as a single parametrized function.
I do not know why the warning tests fail. I check and the function does issue the warning... I'll try to have a deeper look tonight.
This seems to be the answer: https://docs.pytest.org/en/latest/warnings.html#ensuring-function-triggers
remaining two have (
so there is a change in
In the end I think I can only merge