diff tests/test_workers.py @ 345:5732edbfae30

Use python 3.4 compatible syntax Remove the need of circular imports between workers and command_line_util
author Amine Sehili <amine.sehili@gmail.com>
date Mon, 11 Nov 2019 09:38:47 +0100
parents 9f17aa9a4018
children 323d59b404a2
line wrap: on
line diff
--- a/tests/test_workers.py	Sun Nov 10 20:20:51 2019 +0100
+++ b/tests/test_workers.py	Mon Nov 11 09:38:47 2019 +0100
@@ -243,7 +243,7 @@
         expected_print_calls = [
             call(
                 "[{}] {:.3f} {:.3f}, dur: {:.3f}".format(
-                    i, *exp, exp[1] - exp[0]
+                    i, exp[0], exp[1], exp[1] - exp[0]
                 )
             )
             for i, exp in enumerate(self.expected, 1)