Skip to content

Commit d3d9f9f

Browse files
committed
Merge remote-tracking branch 'upstream/master' into mm
2 parents c1361b4 + 018edf2 commit d3d9f9f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/en/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ the records for the ``setup`` and ``call`` stages during teardown like so:
161161
yield window
162162
for when in ("setup", "call"):
163163
messages = [
164-
x.message for x in caplog.get_records(when) if x.level == logging.WARNING
164+
x.message for x in caplog.get_records(when) if x.levelno == logging.WARNING
165165
]
166166
if messages:
167167
pytest.fail(

scripts/report-coverage.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ fi
1313
python -m coverage combine
1414
python -m coverage xml
1515
python -m coverage report -m
16-
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml
16+
curl -S -L --retry 3 -s https://codecov.io/bash -o codecov-upload.sh
17+
bash codecov-upload.sh -Z -X fix -f coverage.xml

0 commit comments

Comments
 (0)