Skip to content

Implement rounding in test function

Derek Davis requested to merge derek.davis/pygwb:test_fix into master

This MR rounds the relevant arrays used in test_set_cross_and_power_spectral_density to get around not being able to set the tolerance used when testing almost_equal. This should allow the test function to set the desired level of precision without changing the tolerance used for almost_equal. If/when gwpy adds support for specifying the tolerance in this test, this code can be replaced.

Merge request reports