projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40e452e
)
Fix unlink errno check
author
Scott Worley
<scottworley@scottworley.com>
Tue, 25 Sep 2018 23:05:16 +0000
(16:05 -0700)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Thu, 27 Sep 2018 08:29:22 +0000
(09:29 +0100)
test/test_examples.py
patch
|
blob
|
history
diff --git
a/test/test_examples.py
b/test/test_examples.py
index 995e6243441cf5d2785c0a8d7447affdd9a13189..12fe6d7accdd41e8b12d49096aaad9fc0b825387 100755
(executable)
--- a/
test/test_examples.py
+++ b/
test/test_examples.py
@@
-455,7
+455,7
@@
def tst_open_unlink(mnt_dir):
os.unlink(fullname)
with pytest.raises(OSError) as exc_info:
os.stat(fullname)
-
assert exc_info.value.errno == errno.ENOENT
+ assert exc_info.value.errno == errno.ENOENT
assert name not in os.listdir(mnt_dir)
fh.write(data2)
fh.seek(0)