(self)
| 370 | |
| 371 | |
| 372 | def testMisc(self): |
| 373 | testme = AllTests() |
| 374 | |
| 375 | callLst[:] = [] |
| 376 | hash(testme) |
| 377 | self.assertCallStack([('__hash__', (testme,))]) |
| 378 | |
| 379 | callLst[:] = [] |
| 380 | repr(testme) |
| 381 | self.assertCallStack([('__repr__', (testme,))]) |
| 382 | |
| 383 | callLst[:] = [] |
| 384 | str(testme) |
| 385 | self.assertCallStack([('__str__', (testme,))]) |
| 386 | |
| 387 | callLst[:] = [] |
| 388 | testme == 1 |
| 389 | self.assertCallStack([('__eq__', (testme, 1))]) |
| 390 | |
| 391 | callLst[:] = [] |
| 392 | testme < 1 |
| 393 | self.assertCallStack([('__lt__', (testme, 1))]) |
| 394 | |
| 395 | callLst[:] = [] |
| 396 | testme > 1 |
| 397 | self.assertCallStack([('__gt__', (testme, 1))]) |
| 398 | |
| 399 | callLst[:] = [] |
| 400 | testme != 1 |
| 401 | self.assertCallStack([('__ne__', (testme, 1))]) |
| 402 | |
| 403 | callLst[:] = [] |
| 404 | 1 == testme |
| 405 | self.assertCallStack([('__eq__', (1, testme))]) |
| 406 | |
| 407 | callLst[:] = [] |
| 408 | 1 < testme |
| 409 | self.assertCallStack([('__gt__', (1, testme))]) |
| 410 | |
| 411 | callLst[:] = [] |
| 412 | 1 > testme |
| 413 | self.assertCallStack([('__lt__', (1, testme))]) |
| 414 | |
| 415 | callLst[:] = [] |
| 416 | 1 != testme |
| 417 | self.assertCallStack([('__ne__', (1, testme))]) |
| 418 | |
| 419 | |
| 420 | def testGetSetAndDel(self): |
nothing calls this directly
no test coverage detected