(self, cf, exc, section, option)
| 581 | self.assertEqual(e.args, ("bar", "foo")) |
| 582 | |
| 583 | def get_error(self, cf, exc, section, option): |
| 584 | try: |
| 585 | cf.get(section, option) |
| 586 | except exc as e: |
| 587 | return e |
| 588 | else: |
| 589 | self.fail("expected exception type %s.%s" |
| 590 | % (exc.__module__, exc.__qualname__)) |
| 591 | |
| 592 | def test_boolean(self): |
| 593 | cf = self.fromstring( |
no test coverage detected