[New-bugs-announce] [issue45057] Simplify RegressionTestResult

Serhiy Storchaka report at bugs.python.org
Tue Aug 31 03:24:28 EDT 2021


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

RegressionTestResult is a subclass of TextTestResult, but it completely ignores the TextTestResult function of outputting results and re-implements it. The problem of this is not only duplicating the code, but that if TextTestResult is changed (for example to fix issue25894) the corresponding changes should be re-implemented in RegressionTestResult. And since implementations that produce the same result are different (somewhere in subtle way), it adds much work and is errorprone.

The proposed PR removes any text output code from RegressionTestResult and allows to use TextTestResult for output.

----------
components: Tests
messages: 400697
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Simplify RegressionTestResult
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45057>
_______________________________________


More information about the New-bugs-announce mailing list