# HG changeset patch # User Franz Glasner # Date 1626014594 -7200 # Node ID ac3e3cd6faae32d5917cb53cba1d0a28325f7f1d # Parent 873b9d2ecb0be9dfab3de214bfa96756456bf727 FIX: 4ff02a4f401a made a somewhat wrong fix for Python 2.7: now the real fix takes into account that all text types are supposed to be Unicode in Python 2 diff -r 873b9d2ecb0b -r ac3e3cd6faae tests/test.py --- a/tests/test.py Sun Jul 11 16:39:19 2021 +0200 +++ b/tests/test.py Sun Jul 11 16:43:14 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=u('false'))) def test18_getfirstvar_nonexisting(self): cfg = self._load(os.path.join(TESTDATADIR, "conf20.yml"))