From 3210824ae92fb13c73e40a96034f0d9ff6881d49 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Sun, 2 May 2021 23:27:41 +0100 Subject: [PATCH] Working on tests with new master --- binarycpython/tests/test_functions.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/binarycpython/tests/test_functions.py b/binarycpython/tests/test_functions.py index b6cb2fe50..d986cb631 100644 --- a/binarycpython/tests/test_functions.py +++ b/binarycpython/tests/test_functions.py @@ -242,7 +242,9 @@ class test_parse_binary_c_version_info(unittest.TestCase): if parsed_info["macros"]["NUCSYN"] == "on": self.assertIsNotNone(parsed_info["isotopes"]) - self.assertIsNotNone(parsed_info["nucleosynthesis_sources"]) + + if parsed_info['macros']["NUCSYN_ID_SOURCES"] == "on": + self.assertIsNotNone(parsed_info["nucleosynthesis_sources"]) class test_output_lines(unittest.TestCase): -- GitLab