diff options
Diffstat (limited to 'test/ec/utils.py')
| -rw-r--r-- | test/ec/utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ec/utils.py b/test/ec/utils.py index e1812b3..67a9cc0 100644 --- a/test/ec/utils.py +++ b/test/ec/utils.py @@ -1,10 +1,12 @@ from itertools import product from functools import reduce + def slow(func): func.slow = 1 return func + def cartesian(*items): for cart in product(*items): - yield reduce(lambda x, y: x + y, cart)
\ No newline at end of file + yield reduce(lambda x, y: x + y, cart) |
