def test_null_singleton(self): with pytest.raises(Exception): pa.NAType()
def test_null_singleton(self): with self.assertRaises(Exception): A.NAType()