aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2018-09-25 16:05:16 -0700
committerNikolaus Rath <Nikolaus@rath.org>2018-09-27 09:29:22 +0100
commit161fffd979a51da1991276bc50d48237eda831b1 (patch)
tree667fc072198848d25597b2a812f07aaa5939a8b7 /test
parent40e452e40503d21f438bfdaae2a81980c717e057 (diff)
downloadlibfuse-161fffd979a51da1991276bc50d48237eda831b1.tar.gz
Fix unlink errno check
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_examples.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_examples.py b/test/test_examples.py
index 995e624..12fe6d7 100755
--- 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)