From: Scott Worley Date: Tue, 25 Sep 2018 23:05:16 +0000 (-0700) Subject: Fix unlink errno check X-Git-Tag: fuse-3.3.0~25 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=161fffd979a51da1991276bc50d48237eda831b1;p=qemu-gpiodev%2Flibfuse.git Fix unlink errno check --- 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)