Skip to content

Commit ed911da

Browse files
authored
Fix #1262 by specifying intended base class (#1267)
* Fix #1262 by specifying intended base class * Add mypy ignore directive
1 parent 6a465d9 commit ed911da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sst/core/testingframework/test_engine_unittest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,9 @@ def __init__(
593593
# concurrently.
594594
if not test_engine_globals.TESTENGINE_CONCURRENTMODE:
595595
# Ignore make_tests and wrap_results
596-
super().__init__(suite)
596+
# continue using old super invocation to prevent
597+
# sstsimulator/sst-core#1262
598+
super(unittest.TestSuite, self).__init__(suite) # type: ignore[name-defined]
597599
else:
598600
super().__init__(suite, make_tests, wrap_result)
599601

0 commit comments

Comments
 (0)