diff options
author | Scott Worley <scottworley@scottworley.com> | 2018-09-25 16:05:16 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-09-27 09:29:22 +0100 |
commit | 161fffd979a51da1991276bc50d48237eda831b1 (patch) | |
tree | 667fc072198848d25597b2a812f07aaa5939a8b7 /test/test_examples.py | |
parent | 40e452e40503d21f438bfdaae2a81980c717e057 (diff) | |
download | libfuse-161fffd979a51da1991276bc50d48237eda831b1.tar.gz |
Fix unlink errno check
Diffstat (limited to 'test/test_examples.py')
-rwxr-xr-x | test/test_examples.py | 2 |
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) |