[meld] task: Update test code



commit 2430ed73162703a2a53f607f33e6cb8b44d1491d
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Fri Aug 8 06:45:33 2014 +1000

    task: Update test code

 meld/task.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/meld/task.py b/meld/task.py
index 99e58d7..84c33ad 100644
--- a/meld/task.py
+++ b/meld/task.py
@@ -141,7 +141,6 @@ class FifoScheduler(SchedulerBase):
             raise StopIteration
 
 
-
 if __name__ == "__main__":
     import time
     import random
@@ -160,7 +159,7 @@ if __name__ == "__main__":
             yield 1
         print("end", x)
 
-    s = RoundRobinScheduler()
+    s = FifoScheduler()
     m.add_task(s)
     s.add_task(sayhello(10))
     s.add_task(sayhello(20))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]