mirror of https://github.com/python/cpython
bpo-46126: Disable 'descriptions' when running tests internally. (GH-30194)
This commit is contained in:
parent
6cacdb4245
commit
a941e5927f
|
@ -145,7 +145,11 @@ def get_test_runner_class(verbosity, buffer=False):
|
|||
return functools.partial(unittest.TextTestRunner,
|
||||
resultclass=RegressionTestResult,
|
||||
buffer=buffer,
|
||||
verbosity=verbosity)
|
||||
verbosity=verbosity,
|
||||
# disable descriptions so errors are
|
||||
# readily traceable. bpo-46126
|
||||
descriptions=False,
|
||||
)
|
||||
return functools.partial(QuietRegressionTestRunner, buffer=buffer)
|
||||
|
||||
def get_test_runner(stream, verbosity, capture_output=False):
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Disable 'descriptions' when running tests internally.
|
Loading…
Reference in New Issue