Home | History | Annotate | Download | only in test

Lines Matching refs:ConfigParser

1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError,
194 self.assertRaises(ConfigParser.NoSectionError,
196 self.get_error(ConfigParser.NoSectionError, "foo", "bar")
198 self.get_error(ConfigParser.NoOptionError, "foo", "bar")
237 self.assertRaises(ConfigParser.DuplicateSectionError,
359 config_class = ConfigParser.ConfigParser
364 ConfigParser.ConfigParser: ("something %(with11)s "
366 ConfigParser.SafeConfigParser: "%(with1)s",
376 self.get_error(ConfigParser.InterpolationDepthError, "Foo", "bar11")
380 e = self.get_error(ConfigParser.InterpolationError,
417 config_class = ConfigParser.ConfigParser
445 config_class = ConfigParser
480 config_class = ConfigParser.SafeConfigParser
538 cm = ConfigParser._Chainmap(d1, d2)
574 output = self.prepare(ConfigParser.ConfigParser)
578 output = self.prepare(ConfigParser.RawConfigParser)
608 """Tests for issue #13760: ConfigParser exceptions are not picklable."""
612 e1 = ConfigParser.Error('value')
620 e1 = ConfigParser.NoSectionError('section')
630 e1 = ConfigParser.NoOptionError('option', 'section')
641 e1 = ConfigParser.DuplicateSectionError('section')
651 e1 = ConfigParser.InterpolationError('option', 'section', 'msg')
662 e1 = ConfigParser.InterpolationMissingOptionError('option', 'section',
675 e1 = ConfigParser.InterpolationSyntaxError('option', 'section', 'msg')
686 e1 = ConfigParser.InterpolationDepthError('option', 'section',
698 e1 = ConfigParser.ParsingError('source')
712 e1 = ConfigParser.MissingSectionHeaderError('filename', 123, 'line')