[gnome-settings-daemon/benzea/tests-output-checker-testing] XXX: and more logging
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/tests-output-checker-testing] XXX: and more logging
- Date: Mon, 15 Feb 2021 13:51:25 +0000 (UTC)
commit c413bda9f8972cac17622b0f9b23cfd88911f27e
Author: Benjamin Berg <bberg redhat com>
Date: Mon Feb 15 14:50:54 2021 +0100
XXX: and more logging
tests/output_checker.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/output_checker.py b/tests/output_checker.py
index 852a5ca5..46042674 100644
--- a/tests/output_checker.py
+++ b/tests/output_checker.py
@@ -143,11 +143,11 @@ class OutputChecker(object):
raise AssertionError("OutputCheck: Write side has not been closed yet!")
def force_close(self):
- print("force closing pipe %d", self._pipe_fd_r);
+ os.write(1, b"force closing pipe %d" % self._pipe_fd_r);
os.close(self._pipe_fd_r)
- print("pipe closed, waiting");
+ os.write(1, b"pipe closed, waiting");
self._thread.join()
- print("reader thread joined");
+ os.write(1, b"reader thread joined");
@property
def fd(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]