Blob Blame History Raw
From 8511add1695c49cc7f3df2220044a4eed17ba1a5 Mon Sep 17 00:00:00 2001
From: David Rheinsberg <david.rheinsberg@gmail.com>
Date: Wed, 7 Dec 2022 13:44:57 +0100
Subject: [PATCH] test/fscache: drop PathLike annotation

Drop the PathLike annotation, since it is not compatible to py-3.6.

Signed-off-by: David Rheinsberg <david.rheinsberg@gmail.com>
---
 test/mod/test_util_fscache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/mod/test_util_fscache.py b/test/mod/test_util_fscache.py
index 4a3141b..1125abd 100644
--- a/test/mod/test_util_fscache.py
+++ b/test/mod/test_util_fscache.py
@@ -39,7 +39,7 @@ def test_calculate_size(tmpdir):
     assert fscache.FsCache._calculate_size(os.path.join(tmpdir, "dir")) == 6
 
 
-def test_pathlike(tmpdir: os.PathLike[str]):
+def test_pathlike(tmpdir):
     #
     # Verify behavior of `__fspath__()`.
     #
-- 
2.38.1