Skip to content

Commit da40aec

Browse files
authored
Update test_planmode.py
1 parent e8f445b commit da40aec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_planmode.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_plan_reminder(self):
7777
class TestPlanTempDir(unittest.TestCase):
7878
def test_tmpdir_env_wins(self):
7979
with mock.patch.dict(os.environ, {"TMPDIR": "/custom/tmp"}, clear=False):
80-
self.assertEqual(_plan_temp_dir(), "/custom/tmp")
80+
self.assertEqual(_plan_temp_dir(), os.path.abspath("/custom/tmp"))
8181

8282
def test_falls_back_to_plain_tmp(self):
8383
"""With no TMPDIR/TMP/TEMP and an empty gettempdir(), the

0 commit comments

Comments
 (0)