1. James Mills
  2. circuits

Commits

James Mills  committed eabf5dd

tests.test_workers: Fixed test by waiting until worker has finished

  • Participants
  • Parent commits 6d096dd
  • Branches default
  • Tags 1.0b1

Comments (0)

Files changed (1)

File circuits/tests/test_workers.py

View file
  • Ignore whitespace
 
       x.send(Test(), "foo")
 
-      w.stop()
+      while w.isAlive():
+          pass
 
       self.assertEquals(w.count, 5)
       self.assertTrue(w.done)