Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST: test_streamplot_2D faster (#4221)
* TST: test_streamplot_2D faster * speed up `test_streamplot_2D()` because it has been reported to take ~20 seconds on a regular basis in CI in gh-4209 * we don't really need to plot the output, which was taking most of the time, and instead we can just check the data structures that MDAnalysis returns (this may be a better test by some definitions anyway...); I suppose we could also spot check a few values in the arrays if we wanted as well * locally, that single test seems to run in 0.39 s on this branch vs. 4.7 s on `develop` * TST: PR 4221 revisions * use `pytest.approx` for single value comparisons * `u1` and `v1` are now checked more thoroughly for their actual floating point values
- Loading branch information