We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aaddbc commit 4ee1618Copy full SHA for 4ee1618
2 files changed
.travis.yml
@@ -12,9 +12,9 @@ env:
12
- CELERY=4
13
- CELERY=5
14
before_install:
15
+ - pip install --upgrade pip
16
- pip install poetry
17
install:
18
- poetry install -v
- - if [[ $CELERY == "4" ]]; then travis_retry poetry add celery^4; fi
19
- - poetry show
20
-script: python -m pytest
+ - if [[ $CELERY == "4" ]]; then pip install "celery>=4, <5"; fi
+script: python -m pytest
tests/test_singleton.py
@@ -410,7 +410,7 @@ def simple_task(*args):
410
args = [uuid.uuid4(), uuid.uuid4(), uuid.uuid4()]
411
412
with pytest.raises(
413
- TypeError, match="Object of type UUID is not JSON serializable"
+ TypeError, match=r"Object of type '?UUID'? is not JSON serializable"
414
):
415
[simple_task.apply_async(args=args) for i in range(10)]
416
0 commit comments