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