()
| 368 | |
| 369 | |
| 370 | def test_parse_curry(): |
| 371 | def curry(func, *args, **kwargs): |
| 372 | return func(*args, **kwargs) + "c" |
| 373 | |
| 374 | dsk = { |
| 375 | "key-1": (curry, func, "a", "b"), |
| 376 | } |
| 377 | converted = convert_and_verify_keys(dsk) |
| 378 | t = Task("key-1", curry, func, "a", "b") |
| 379 | assert converted["key-1"]() == t() |
| 380 | assert t() == "a-bc" |
| 381 | |
| 382 | |
| 383 | def test_curry(): |
nothing calls this directly
no test coverage detected