Home
last modified time | relevance | path

Searched refs:NoSectionError (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/
DConfigParser.py139 class NoSectionError(Error): class
279 raise NoSectionError(section)
330 raise NoSectionError(section)
347 raise NoSectionError(section)
396 raise NoSectionError(section)
424 raise NoSectionError(section)
607 raise NoSectionError(section)
642 raise NoSectionError(section)
/external/python/cpython3/Lib/
Dconfigparser.py181 class NoSectionError(Error): class
506 except (KeyError, NoSectionError, NoOptionError):
675 raise NoSectionError(section) from None
782 except NoSectionError:
810 except (NoSectionError, NoOptionError):
849 raise NoSectionError(section)
902 raise NoSectionError(section) from None
943 raise NoSectionError(section) from None
1149 raise NoSectionError(section) from None
/external/python/cpython2/Lib/test/
Dtest_cfgparser.py117 self.assertRaises(ConfigParser.NoSectionError,
192 self.assertRaises(ConfigParser.NoSectionError,
194 self.assertRaises(ConfigParser.NoSectionError,
196 self.get_error(ConfigParser.NoSectionError, "foo", "bar")
625 e1 = ConfigParser.NoSectionError('section')
/external/autotest/client/bin/
Dharness_autoserv.py32 except six.moves.configparser.NoSectionError:
/external/python/cpython3/Lib/test/
Dtest_configparser.py138 with self.assertRaises(configparser.NoSectionError):
262 with self.assertRaises(configparser.NoSectionError) as cm:
444 with self.assertRaises(configparser.NoSectionError):
567 with self.assertRaises(configparser.NoSectionError):
569 with self.assertRaises(configparser.NoSectionError):
571 e = self.get_error(cf, configparser.NoSectionError, "foo", "bar")
798 with self.assertRaises(configparser.NoSectionError):
1704 e1 = configparser.NoSectionError('section')
1918 with self.assertRaises(configparser.NoSectionError) as cm:
1924 with self.assertRaises(configparser.NoSectionError) as cm:
[all …]
/external/python/cpython2/Doc/library/
Dconfigparser.rst160 .. exception:: NoSectionError
340 otherwise raise :exc:`NoSectionError`. While it is possible to use
359 not exist, raise :exc:`NoSectionError`. If the option existed to be removed,
431 otherwise raise :exc:`NoSectionError`. *value* must be a string (:class:`str`
519 except ConfigParser.NoSectionError:
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py3/
Dsetup.py357 except _config_parser.NoSectionError:
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dsetup.py356 except _config_parser.NoSectionError:
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py3/
Dsetup.py361 except _config_parser.NoSectionError:
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Dsetup.py356 except _config_parser.NoSectionError:
/external/python/cpython3/Doc/library/
Dconfigparser.rst1120 otherwise raise :exc:`NoSectionError`. *option* and *value* must be
1136 section does not exist, raise :exc:`NoSectionError`. If the option
1237 otherwise raise :exc:`NoSectionError`. While it is possible to use
1257 .. exception:: NoSectionError