summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLembrun <amadeusk7@free.fr>2021-02-28 23:12:05 +0100
committerLembrun <amadeusk7@free.fr>2021-02-28 23:12:05 +0100
commit0d96cd69f659466842a11f4303638560e1099117 (patch)
tree7e1a02549ad99104957bff7f725172fd9818f98a /tests
parentd20ae12b2f5c2aa37a11654404b3ac509bde4e45 (diff)
downloadqutebrowser-0d96cd69f659466842a11f4303638560e1099117.tar.gz
qutebrowser-0d96cd69f659466842a11f4303638560e1099117.zip
Replaced os.stat method by the pathlib equivalent #3
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/misc/test_ipc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/misc/test_ipc.py b/tests/unit/misc/test_ipc.py
index 42669a665..3b8092281 100644
--- a/tests/unit/misc/test_ipc.py
+++ b/tests/unit/misc/test_ipc.py
@@ -322,7 +322,7 @@ class TestListen:
print('sockdir: {} / owner {} / mode {:o}'.format(
sockdir, dir_stat.st_uid, dir_stat.st_mode))
print('sockfile: {} / owner {} / mode {:o}'.format(
- sockfile, file_stat.st_uid, file_stat.st_mode))
+ sockfile_path, file_stat.st_uid, file_stat.st_mode))
assert file_owner_ok or dir_owner_ok
assert file_mode_ok or dir_mode_ok