From 7997fa94c82f9a6db63421c0af433f325a8aa607 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 4 Nov 2023 18:45:48 -0400 Subject: New upstream version 1.26.2. --- test/test_postprocessor.py | 4 ++-- test/test_util.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test_postprocessor.py b/test/test_postprocessor.py index b64df88..fb1d739 100644 --- a/test/test_postprocessor.py +++ b/test/test_postprocessor.py @@ -365,8 +365,8 @@ class MetadataTest(BasePostprocessorTest): self._create( {"mode": "tags"}, {"tags": [ - {"g": "foobar1", "m": "foobar2"}, - {"g": None, "m": "foobarbaz"} + {"g": "foobar1", "m": "foobar2", "u": True}, + {"g": None, "m": "foobarbaz", "u": [3, 4]}, ]}, ) with patch("builtins.open", mock_open()) as m: diff --git a/test/test_util.py b/test/test_util.py index 0813a0b..780f475 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -750,6 +750,7 @@ def hash(value): self.assertIs(obj(), obj) self.assertIs(obj(1, "a"), obj) self.assertIs(obj(foo="bar"), obj) + self.assertEqual(util.json_dumps(obj), "null") i = 0 for _ in obj: -- cgit v1.2.3