Skip to content

Commit 24df8f8

Browse files
committed
Correct MockNotifier construction in test
1 parent 3f68411 commit 24df8f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test/toolchains/api_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def test_toolchain_profile_asm(profile, source_file):
184184
with patch('os.mkdir') as _mkdir:
185185
for _, tc_class in TOOLCHAIN_CLASSES.items():
186186
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile,
187-
notify=MockNotifier)
187+
notify=MockNotifier())
188188
toolchain.inc_md5 = ""
189189
toolchain.build_dir = ""
190190
for parameter in profile['asm']:

0 commit comments

Comments
 (0)