3
0
Fork 0

test: update deprecated method call

This commit is contained in:
Lance Edgar 2025-12-17 10:06:09 -06:00
parent 8c48a3f318
commit a779be4a81

View file

@ -56,8 +56,7 @@ class TestAppHandler(FileTestCase):
self.assertIs(obj, UNSPECIFIED) self.assertIs(obj, UNSPECIFIED)
def test_get_appdir(self): def test_get_appdir(self):
mockdir = self.mkdtemp()
mockdir = self.mkdir("mockdir")
# default appdir # default appdir
with patch.object(sys, "prefix", new=mockdir): with patch.object(sys, "prefix", new=mockdir):