(self)
| 18 | |
| 19 | class TestUtil(unittest.TestCase): |
| 20 | def test_is_namedtuple(self): |
| 21 | self.assertTrue(is_namedtuple(Data(1, 2))) |
| 22 | self.assertFalse(is_namedtuple((1, 2, 3))) |
| 23 | self.assertFalse(is_namedtuple([1, 2, 3])) |
| 24 | self.assertFalse(is_namedtuple(1)) |
| 25 | |
| 26 | # Skipping tests on pypy because of https://github.com/uqfoundation/dill/issues/73 |
| 27 | @unittest.skipIf( |
nothing calls this directly
no test coverage detected