From 4b94571dc3aaca4730909bd807736054b45b7fb9 Mon Sep 17 00:00:00 2001 From: Rutger van Haasteren Date: Thu, 9 Nov 2023 17:28:04 +0100 Subject: [PATCH] Added extra unit test --- tests/test_pulsar.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_pulsar.py b/tests/test_pulsar.py index ce8cde49..25bfc022 100644 --- a/tests/test_pulsar.py +++ b/tests/test_pulsar.py @@ -255,6 +255,15 @@ def test_droppsr(self): with self.assertRaises(AttributeError): _ = self.psr_nodrop.timfile + def test_drop_not_picklable(self): + self.psr_nodrop.drop_not_picklable() + + with self.assertRaises(AttributeError): + _ = self.psr_nodrop.model + + with self.assertRaises(AttributeError): + _ = self.psr_nodrop.pint_toas + def test_deflate_inflate(self): pass