summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--tests/test_pickle.py3
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 82696cb..4b684bf 100644
--- a/Makefile
+++ b/Makefile
@@ -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(