test: update deprecated method call
This commit is contained in:
parent
8c48a3f318
commit
a779be4a81
1 changed files with 1 additions and 2 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue