Skip to content

Commit 97411e4

Browse files
committed
add stub class to support our unittest runner
1 parent ff6fe3a commit 97411e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

graalpython/com.oracle.graal.python.test/src/graalpytest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,11 @@ def decorator(f):
349349
return decorator
350350

351351

352+
class TextTestResult():
353+
"Just a dummy to satisfy the unittest.support import"
354+
pass
355+
356+
352357
if __name__ == "__main__":
353358
sys.modules["unittest"] = sys.modules["__main__"]
354359
patterns = []

0 commit comments

Comments
 (0)