From 7ed5911295f0b427592a4c9e46d960a7286e86ce Mon Sep 17 00:00:00 2001 From: Tzu-ping Chung Date: Sat, 21 Aug 2021 00:47:57 +0800 Subject: [PATCH] Add Python 3.10 workaround --- tests/unit/test_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_wheel.py b/tests/unit/test_wheel.py index 247e8d6643c..e21c0ec2e68 100644 --- a/tests/unit/test_wheel.py +++ b/tests/unit/test_wheel.py @@ -422,7 +422,7 @@ def test_install_prefix(self, data, tmpdir): self.name, user=False, home=None, - root=tmpdir, + root=str(tmpdir), # Casting needed for CPython 3.10+. See GH-10358. isolated=False, prefix=prefix, )