mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
maybe a newline helps
This commit is contained in:
parent
4f5a1ac372
commit
8ebe331c35
@ -643,7 +643,7 @@ class PidFileLocking(SyncTestCase):
|
||||
"\n".join([
|
||||
"import filelock, time",
|
||||
"with filelock.FileLock('{}', timeout=1):".format(lockfile.path),
|
||||
" print('.', flush=True)",
|
||||
" print('.\n', flush=True)",
|
||||
" time.sleep(5)",
|
||||
])
|
||||
)
|
||||
@ -657,7 +657,7 @@ class PidFileLocking(SyncTestCase):
|
||||
# for sure (from the "." it prints)
|
||||
self.assertThat(
|
||||
proc.stdout.read(1),
|
||||
Equals(b".")
|
||||
Equals(b".\n")
|
||||
)
|
||||
|
||||
# we should not be able to acuire this corresponding lock as well
|
||||
|
Loading…
x
Reference in New Issue
Block a user