File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-parallel) and
11
11
- {pull}` 44 ` allows to capture warnings from subprocesses. Fixes {issue}` 41 ` .
12
12
- {pull}` 45 ` replaces the delay command line option with an internal, dynamic parameter.
13
13
Fixes {issue}` 41 ` .
14
- - {pull}` 46 ` adds a dynamic sleep duration during the execution.
14
+ - {pull}` 46 ` adds a dynamic sleep duration during the execution. Fixes {issue} ` 42 ` .
15
15
16
16
## 0.2.0 - 2022-04-15
17
17
Original file line number Diff line number Diff line change 2
2
3
3
import pickle
4
4
import textwrap
5
- import time
6
5
from pathlib import Path
6
+ from time import time
7
7
8
8
import pytest
9
9
from pytask import cli
@@ -314,7 +314,7 @@ def test_sleeper():
314
314
sleeper .reset ()
315
315
assert sleeper .timing_idx == 0
316
316
317
- start = time . time ()
317
+ start = time ()
318
318
sleeper .sleep ()
319
- end = time . time ()
319
+ end = time ()
320
320
assert 1 <= end - start <= 1.01
You can’t perform that action at this time.
0 commit comments