Skip to content

Commit ac282d8

Browse files
pfalconpi-anl
authored andcommitted
unittest: Add TextTestRunner as alias for TestRunner.
For CPython compatibility. Signed-off-by: Paul Sokolovsky <[email protected]>
1 parent 5a53a75 commit ac282d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python-stdlib/unittest/unittest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,9 @@ def run(self, suite):
243243
return res
244244

245245

246+
TextTestRunner = TestRunner
247+
248+
246249
class TestResult:
247250
def __init__(self):
248251
self.errorsNum = 0

0 commit comments

Comments
 (0)