Patch #1672 by Joseph Armbruster. Use tempdir() to get a temporary directory.
This commit is contained in:
parent
905c31c73d
commit
e9a0e885db
|
@ -241,7 +241,7 @@ class ProcessTestCase(unittest.TestCase):
|
|||
self.assertEquals(rc, 2)
|
||||
|
||||
def test_cwd(self):
|
||||
tmpdir = os.getenv("TEMP", "/tmp")
|
||||
tmpdir = tempfile.gettempdir()
|
||||
# We cannot use os.path.realpath to canonicalize the path,
|
||||
# since it doesn't expand Tru64 {memb} strings. See bug 1063571.
|
||||
cwd = os.getcwd()
|
||||
|
|
Loading…
Reference in New Issue