Mercurial > hgrepos > Python > libs > ConfigMix
changeset 369:4ff02a4f401a
FIX: Test for Python 2.7: a real "False" needs to be a real "False"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 11 Jul 2021 14:19:35 +0200 |
| parents | 4ee53f6fcac1 |
| children | 18622d265602 |
| files | tests/test.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test.py Fri Jul 09 09:40:49 2021 +0200 +++ b/tests/test.py Sun Jul 11 14:19:35 2021 +0200 @@ -460,7 +460,7 @@ def test17_getintvar_s_with_default(self): cfg = self._load(os.path.join(TESTDATADIR, "conf20.yml")) self.assertFalse(cfg.getboolvar_s("non.existing.key", - default="false")) + default=False)) class T02LoadAndMerge(_T02MixinLoadAndMerge, unittest.TestCase):
