Skip to content

Commit 5c18587

Browse files
committed
Improve error message in test
1 parent cc5ae8c commit 5c18587

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_sys.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,8 @@ def test_abi_info(self):
750750
("debug", "Py_REF_DEBUG"),
751751
]:
752752
self.assertEqual(getattr(info, attr, None),
753-
bool(sysconfig.get_config_var(flag)))
753+
bool(sysconfig.get_config_var(flag)),
754+
f"for {attr}")
754755

755756
@unittest.skipUnless(support.is_emscripten, "only available on Emscripten")
756757
def test_emscripten_info(self):

0 commit comments

Comments
 (0)