Commits

Jason R. Coombs committed d3bfba2

Removed reference to eggmonster

Comments (0)

Files changed (1)

yg/lockfile/test/test_lockfile.py

     tfile, filename = tempfile.mkstemp()
     os.close(tfile)
     os.remove(filename)
-    cmd = [sys.executable, '-u', '-c', 'from eggmonster.concurrency '
+    cmd = [sys.executable, '-u', '-c', 'from yg.lockfile '
         'import FileLock; import time; l = FileLock(%(filename)r); '
         'l.acquire(); print "acquired", l.lockfile; '
         '[time.sleep(1) for x in xrange(10)]' % vars()]
     py.test.raises(FileLockTimeout, l.acquire)
     proc.kill()
     time.sleep(.5)
-    l.acquire(); l.release()
+    l.acquire()
+    l.release()