Fix grammar and spelling

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-04-17 08:11:12 +02:00
parent 0d56d1c790
commit a1d418a686
3 changed files with 4 additions and 5 deletions

View file

@ -48,7 +48,7 @@ Determines whether relevant holidays are shown beneath the report.
Default value is 'yes'. Default value is 'yes'.
**reports.**__<type>__**.hours**:: **reports.**__<type>__**.hours**::
Determines how the <type> report shows all the hours in a day ('all'), or is limited to only hours where data is tracked ('auto'). Determines how the <type> report shows all the hours in a day ('all'), or is limited to only hours when data is tracked ('auto').
Default value is 'all'. Default value is 'all'.
**reports.**__<type>__**.lines**:: **reports.**__<type>__**.lines**::

View file

@ -198,7 +198,7 @@ def _get_output(arguments, timeout=None):
# Process finished # Process finished
return _retrieve_output(t, output_timeout, outputq, "Program to die") return _retrieve_output(t, output_timeout, outputq, "Program to die")
# This should never happen but in case something goes really bad # This should never happen, but in case something goes really awry...
raise OSError("Program stopped responding and couldn't be killed") raise OSError("Program stopped responding and couldn't be killed")

View file

@ -29,12 +29,11 @@
import inspect import inspect
import os import os
import sys
import traceback import traceback
import unittest import unittest
import warnings import warnings
import sys
def color(text, c): def color(text, c):
""" """
@ -227,7 +226,7 @@ class TAPTestRunner(unittest.runner.TextTestRunner):
unittest.signals.registerResult(result) unittest.signals.registerResult(result)
result.failfast = self.failfast result.failfast = self.failfast
# TAP requires output is on STDOUT. # TAP requires that output is on STDOUT.
# TODO: Define this at __init__ time # TODO: Define this at __init__ time
result.stream = unittest.runner._WritelnDecorator(sys.stdout) result.stream = unittest.runner._WritelnDecorator(sys.stdout)