(self)
| 168 | class TestTZInfo(unittest.TestCase): |
| 169 | |
| 170 | def test_refcnt_crash_bug_22044(self): |
| 171 | tz1 = _TZInfo() |
| 172 | dt1 = datetime(2014, 7, 21, 11, 32, 3, 0, tz1) |
| 173 | with self.assertRaises(TypeError): |
| 174 | dt1.utcoffset() |
| 175 | |
| 176 | def test_non_abstractness(self): |
| 177 | # In order to allow subclasses to get pickled, the C implementation |
nothing calls this directly
no test coverage detected