summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_embed.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r--Lib/test/test_embed.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index ec928f9..d94c63a 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -747,6 +747,9 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
if value is self.IGNORE_CONFIG:
config.pop(key, None)
del expected[key]
+ # Resolve bool/int mismatches to reduce noise in diffs
+ if isinstance(value, (bool, int)) and isinstance(config.get(key), (bool, int)):
+ expected[key] = type(config[key])(expected[key])
self.assertEqual(config, expected)
def check_global_config(self, configs):