mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unittest - Use stderr for diagnostics too
This commit is contained in:
parent
a88b3be093
commit
97d490e0fd
1 changed files with 3 additions and 3 deletions
|
@ -8,10 +8,10 @@ from .taskd import Taskd
|
|||
|
||||
class BaseTestCase(unittest.TestCase):
|
||||
def diag(self, out):
|
||||
sys.stdout.write("# --- diag start ---\n")
|
||||
sys.stderr.write("# --- diag start ---\n")
|
||||
for line in out.split("\n"):
|
||||
sys.stdout.write("# " + line + "\n")
|
||||
sys.stdout.write("# --- diag end ---\n")
|
||||
sys.stderr.write("# " + line + "\n")
|
||||
sys.stderr.write("# --- diag end ---\n")
|
||||
|
||||
|
||||
@unittest.skipIf(TASKW_SKIP, "TASKW_SKIP set, skipping task tests.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue