summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_configparser.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32108: Don't clear configparser values if key is assigned to itself ↵Cheryl Sabella2018-06-121-0/+6
| | | | (GH-7588)
* bpo-33504: Migrate configparser from OrderedDict to dict. (#6819)John Reese2018-06-051-1/+1
| | | | | | With 3.7+, dictionary are ordered by design. Configparser still uses collections.OrderedDict, which is unnecessary. This updates the module to use the standard dict implementation by default, and changes the docs and tests to match.
* bpo-33251: Prevent ConfigParser.items returning items present in vars. (#6446)Chris Bradbury2018-04-231-4/+2
| | | | | | | | * bpo-33251: ConfigParser.items no longer returns items present in vars. Documentation for `ConfigParser.items()` states: 'Items present in vars no longer appear in the result.' This fix aligns behaviour to that specified in the documentation.
* bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420)Vincent Michel2017-11-021-0/+17
|
* bpo-23835: Restore legacy defaults= behavior for RawConfigParser (#3191)Łukasz Langa2017-08-241-9/+18
| | | | | | | The fix for bpo-23835 fixed ConfigParser behavior in defaults= handling. Unfortunately, it caused a backwards compatibility regression with RawConfigParser objects which allow for non-string values. This commit restores the legacy behavior for RawConfigParser only.
* bpo-23835: Enforce that configparser defaults are strings (#2558)James Tocknell2017-08-211-0/+9
| | | | * Enforce that configparser defaults are strings * Update test_configparser.py
* bpo-29623: Make PathLike objects work with ConfigParser.read() (#242)David Ellis2017-03-031-0/+11
|
* Remove unused imports.Serhiy Storchaka2016-12-161-1/+0
|
* Merge 3.5, fix for #24142Łukasz Langa2016-11-261-0/+24
|\
| * Fixes #24142: [configparser] always join multiline values to not leave the ↵Łukasz Langa2016-11-261-0/+24
| | | | | | | | parser in an invalid state
* | Issue #27106: Add test for configparser.__all__Martin Panter2016-09-091-0/+6
|/ | | | | Patch by Jacek Kołodziej. The Error class is deliberately omitted because it is a generic name and of limited use.
* Issue #21159: Improve message in configparser.InterpolationMissingOptionError.Robert Collins2015-08-131-3/+4
|\ | | | | | | Patch from Łukasz Langa.
| * Issue #21159: Improve message in configparser.InterpolationMissingOptionError.Robert Collins2015-08-131-3/+4
| | | | | | | | Patch from Łukasz Langa.
* | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-85/+97
|\ \ | |/
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-85/+97
| |
* | Closes #18159: ConfigParser getters not available on SectionProxyŁukasz Langa2014-09-151-0/+223
| |
* | Fix #19546: onfigparser exceptions expose implementation details. Patch by ↵Łukasz Langa2014-09-041-0/+52
| | | | | | | | Claudiu Popa.
* | Issue #22032: __qualname__ instead of __name__ is now always used to formatSerhiy Storchaka2014-07-221-1/+1
|/ | | | fully qualified class names of Python implemented classes.
* Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-2/+1
|
* Fixed issue #18260: configparser TypeError on source name specified as bytesŁukasz Langa2013-06-231-11/+63
|
* #16925: test_configparser now works with unittest test discovery. Patch by ↵Ezio Melotti2013-01-111-35/+13
| | | | Zachary Ware.
* configparser: preserve section order when using `__setitem__` (issue #16820)Łukasz Langa2013-01-011-0/+4
|
* Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820.Łukasz Langa2012-12-311-0/+28
|
* Merged `parser.clean()` fix (issue #16820) from 3.2.Łukasz Langa2012-12-311-0/+27
|
* Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occursŁukasz Langa2012-07-071-0/+37
| | | | earlier without preceding space.
* #13760: picklability tests for configparser exceptionsŁukasz Langa2012-01-201-0/+145
|
* Merged minor cleanups from 3.2.Łukasz Langa2011-04-291-1/+1
|
* Merged solution for #11324 from 3.2.Łukasz Langa2011-04-281-0/+38
|
* Merged styling updates for #11670 from 3.2.Łukasz Langa2011-04-281-7/+7
|
* Merged solution for #11858 from 3.2.Łukasz Langa2011-04-281-3/+67
|
* Merged #11670 from 3.2Łukasz Langa2011-04-271-0/+54
|
* Have the test filename match the module filename.Raymond Hettinger2011-02-221-0/+1342