From 17453f207de15d866936b7eded94142647c0386e Mon Sep 17 00:00:00 2001 From: jlwoolf Date: Thu, 22 Sep 2022 19:22:25 -0600 Subject: [PATCH] fixed bug in test --- Tests/test_file_cur.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_file_cur.py b/Tests/test_file_cur.py index a304245a2..9675312e9 100644 --- a/Tests/test_file_cur.py +++ b/Tests/test_file_cur.py @@ -29,7 +29,7 @@ def test_invalid_file(): no_cursors_file = "Tests/images/cur/no_cursors.cur" - cur = CurImagePlugin.CurImageFile(TEST_FILE) + cur = CurImagePlugin.CurImageFile("Tests/images/cur/deerstalker.cur") cur.fp.close() with open(no_cursors_file, "rb") as cur.fp: with pytest.raises(TypeError):