Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typos | Kian-Meng Ang | 2022-02-06 | 1 | -1/+1 |
| | |||||
* | Fix tests (#183) | Aliaksei Urbanski | 2019-06-11 | 1 | -3/+3 |
| | | | | | | The main goal of this commit is to fix the test_encoding_from_filelike test for Python 3.6+. As well, it fixes a couple of warnings. | ||||
* | Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade | Hugo | 2018-10-13 | 2 | -2/+2 |
| | |||||
* | quoting: make helper an actual function, and use repr in exceptions | jhermann | 2017-02-28 | 1 | -2/+1 |
| | |||||
* | Roundtrip configs with triple quotes and newlines | Martin Packman | 2017-02-28 | 1 | -1/+18 |
| | | | | | | | | | | | Reported long ago as bzr bug lp:710410 but the fix never made it to the 5.x configobj series. It is possible to create a config which configobj cannot read back, due to reversed logic in triple quote handling. Adapted the bzr unit test by bialix and fixed the behaviour. | ||||
* | Move some dottedQuadToNum doctests to pytest | Martin Packman | 2017-02-28 | 1 | -0/+23 |
| | | | | | | | | | | Currently the dottedQuadToNum doctest can fail on Python 2 depending on sys.maxint of the platform. Really doctests are not suitable for full coverage, so the boundary case and spacing behaviour checking is better in the pytest framework with doctests reserved for showing what the fuction actually does. | ||||
* | more compact test | jhermann | 2017-02-28 | 1 | -21/+9 |
| | |||||
* | Always return unicode when encoding is given (closes #18) | Martin Packman | 2017-02-28 | 1 | -0/+24 |
| | | | | | | | | | | As reported in github issue #18 when a file-like object is given and the encoding param is passed configobj fails to decode the data on Python 2. This is a regression from the 4.7 releases. Fix is simply to check first for binary types in _decode() helper as six.string_types includes the bytes str type on Python 2. | ||||
* | test for rewriting with alternate comment markers | jhermann | 2016-08-29 | 1 | -0/+9 |
| | |||||
* | added 'decoupled' kwparam to merge() (closes #115) | jhermann | 2016-07-27 | 1 | -0/+12 |
| | |||||
* | fixed doctests (ref #73) | jhermann | 2016-07-27 | 1 | -6/+8 |
| | |||||
* | more detailed multi-error reports (closes #73) | jhermann | 2016-07-27 | 1 | -1/+32 |
| | |||||
* | do not quote git-style section titles (closes #74) | jhermann | 2016-07-27 | 1 | -2/+6 |
| | |||||
* | tests: non-empty string checks | jhermann | 2016-07-27 | 1 | -2/+18 |
| | |||||
* | preserve spacing before comments and at line ends (closes #108) | jhermann | 2016-07-27 | 2 | -7/+16 |
| | |||||
* | tests: use mark.parametrize instead of for loop | jhermann | 2016-07-27 | 1 | -8/+9 |
| | |||||
* | tests for force_list and mixed_list | jhermann | 2016-07-27 | 1 | -0/+32 |
| | |||||
* | exit status depends on doctest result again | jhermann | 2016-07-26 | 1 | -1/+1 |
| | |||||
* | ability to set alternative line comment markers (more INI compatibility, ↵ | jhermann | 2016-07-26 | 1 | -0/+18 |
| | | | | closes #79) | ||||
* | fix 'validate' imports for new package structure | jhermann | 2016-07-26 | 4 | -4/+4 |
| | |||||
* | make doctests run in py2.6 | jhermann | 2016-07-26 | 1 | -2/+3 |
| | |||||
* | made 'invoke test doctest check' work, and fixed existing test/lint failures | jhermann | 2016-07-26 | 8 | -0/+2574 |