-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixes the failure output for some cases where failed variables were to be output before being defined - Updates the template to test whether fnrm is within 100*ftol - If it is, we're close but not converged. Issue warning from pytest - If not, fail as normal - For warnings to propagate from subprocess, use pytest-isolate instead of pytest-forked - Out-of-the-box fix for using pytest-xdist - Impacts performance, but the additional information conveyed is worth the tradeoff
- Loading branch information
Showing
3 changed files
with
56 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#! /bin/bash | ||
|
||
pytest --forked --tb=native pytests | ||
pytest --isolate --tb=native pytests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters