hardcoding bad

This commit is contained in:
meejah 2022-09-23 00:26:39 -06:00
parent 62b92585c6
commit 7fdeb8797e

View File

@ -635,7 +635,7 @@ class PidFileLocking(SyncTestCase):
"""
# this can't just be "our" process because the locking library
# allows the same process to acquire a lock multiple times.
pidfile = FilePath("foo")
pidfile = FilePath(self.mktemp())
lockfile = _pidfile_to_lockpath(pidfile)
with open("other_lock.py", "w") as f: