(self)
| 215 | self.assertRaises(TypeError, func, 1.0) |
| 216 | |
| 217 | def test_long_asint(self): |
| 218 | # Test PyLong_AsInt() |
| 219 | PyLong_AsInt = _testlimitedcapi.PyLong_AsInt |
| 220 | from _testcapi import INT_MIN, INT_MAX |
| 221 | self.check_long_asint(PyLong_AsInt, INT_MIN, INT_MAX) |
| 222 | |
| 223 | def test_long_aslong(self): |
| 224 | # Test PyLong_AsLong() and PyLong_FromLong() |
nothing calls this directly
no test coverage detected