New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45057>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to