Commits

James Mills committed 69c1c1c

- tests: Fixed argument passed to range(...)

  • Participants
  • Parent commits c05981d

Comments (0)

Files changed (1)

File tests/conftest.py

 from circuits.core.manager import TIMEOUT
 
 def wait_for(obj, attr, value=True, timeout=30.0):
-    for i in range(timeout / TIMEOUT):
+    for i in range(int(timeout / TIMEOUT)):
         if callable(value):
             if value(obj, attr):
                 return True