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 12
12
- CELERY=4
13
13
- CELERY=5
14
14
before_install :
15
+ - pip install --upgrade pip
15
16
- pip install poetry
16
17
install :
17
18
- poetry install -v
18
- - if [[ $CELERY == "4" ]]; then travis_retry poetry add celery^4; fi
19
- - poetry show
20
- script : python -m pytest
19
+ - if [[ $CELERY == "4" ]]; then pip install "celery>=4, <5"; fi
20
+ script : python -m pytest
Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ def simple_task(*args):
410
410
args = [uuid .uuid4 (), uuid .uuid4 (), uuid .uuid4 ()]
411
411
412
412
with pytest .raises (
413
- TypeError , match = "Object of type UUID is not JSON serializable"
413
+ TypeError , match = r "Object of type '? UUID'? is not JSON serializable"
414
414
):
415
415
[simple_task .apply_async (args = args ) for i in range (10 )]
416
416
You can’t perform that action at this time.
0 commit comments