diff --git a/selftest/lock_test.ok b/selftest/lock_test.ok index 0e3db40f..d7152ac3 100644 --- a/selftest/lock_test.ok +++ b/selftest/lock_test.ok @@ -1,8 +1,4 @@ -acquired lock: 'long name' launched first, locked by: long name launched second, locked by: long name -leaving lock: 'long name' -acquired lock: 'shorter' waited, locked by: shorter -leaving lock: 'shorter' waited more, locked by: diff --git a/selftest/lock_test_help.py b/selftest/lock_test_help.py index 7b6dfa1a..bdf7c646 100644 --- a/selftest/lock_test_help.py +++ b/selftest/lock_test_help.py @@ -14,12 +14,8 @@ lockfile_path = os.path.join(testdir, 'lock_test') fl = FileLock(lockfile_path, name) with fl: - print('acquired lock: %r' % fl.owner) - sys.stdout.flush() while os.path.exists(stop_signalling_file): time.sleep(.1) - print('leaving lock: %r' % fl.owner) - sys.stdout.flush() touch_file(stop_signalling_file + '.done') # vim: expandtab tabstop=4 shiftwidth=4