Move the silencing of numpy's warnings into test_calc.py