Lines Matching refs:str
625 self.assertEqual(str(e), "Section 'Foo' already exists")
639 self.assertEqual(str(e), "While reading from '<foo-bar>' "
646 self.assertEqual(str(e), "While reading from '<dict>': option "
709 class mystr(str):
1146 self.assertEqual(str(err), "'int' object has no attribute 'lower'")
1555 str(dse.exception),
1567 str(dse.exception),
1578 str(dse.exception),
1588 str(dse.exception),
1604 self.assertEqual(str(error), "Option 'option' in section 'section' "
1617 self.assertEqual(str(cm.exception), "Required argument `source' not "
1621 self.assertEqual(str(cm.exception), "Cannot specify both `filename' "
1643 self.assertEqual(str(cm.exception), "'%' must be followed by '%' or "
1647 self.assertEqual(str(cm.exception), "bad interpolation variable "
1987 str = string
1994 self.assertEqual(s['str'], 'string')
1999 self.assertEqual(cfg.get('s', 'str'), 'string')
2004 self.assertEqual(cfg.get('s', 'str'), 'string')
2010 self.assertEqual(s.get('str'), 'string')