From 161fffd979a51da1991276bc50d48237eda831b1 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Tue, 25 Sep 2018 16:05:16 -0700 Subject: [PATCH] Fix unlink errno check --- test/test_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2