summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gsdtestcase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py
index 5c8d7350..389c53d7 100644
--- a/tests/gsdtestcase.py
+++ b/tests/gsdtestcase.py
@@ -208,7 +208,7 @@ class GSDTestCase(dbusmock.DBusTestCase):
if klass.xorg.poll():
# ended prematurely
try:
- log = xorg_log_write.read()
+ log = open(xorg_log_write.name).read()
except IOError:
return -1