We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5628b28 commit 7a1a56dCopy full SHA for 7a1a56d
test/framework/easystack.py
@@ -165,7 +165,7 @@ def test_easystack_restore_env_after_each_build(self):
165
# (because $TMPDIR set by configuration done in main function is retained)
166
tmpdir_tempfile = tempfile.gettempdir()
167
tmpdir_env = os.getenv('TMPDIR')
168
- tmpdir_tempfile_len = len(tmpdir_env.split(os.path.sep))
+ tmpdir_tempfile_len = len(tmpdir_tempfile.split(os.path.sep))
169
tmpdir_env_len = len(tmpdir_env.split(os.path.sep))
170
171
self.assertEqual(tmpdir_tempfile_len, orig_tmpdir_tempfile_len + 2)
0 commit comments