diff options
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | tests/test_pickle.py | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -11,4 +11,7 @@ install: docs: build make -C docs html -.PHONY: build docs clean +test: + python -m unittest discover tests -v + +.PHONY: build docs clean test diff --git a/tests/test_pickle.py b/tests/test_pickle.py index 9eabcec..32d45bf 100644 --- a/tests/test_pickle.py +++ b/tests/test_pickle.py @@ -39,7 +39,8 @@ class TestPickle(unittest.TestCase): value_date, [end_date], np.array([75 * 1e-4]), - 0.4, + np.array([0.]), + np.array([0.4]), ) sc_pickled = loads(dumps(sc, 2)) self.assertListAlmostEqual( |
