File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ the records for the ``setup`` and ``call`` stages during teardown like so:
161
161
yield window
162
162
for when in (" setup" , " call" ):
163
163
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
165
165
]
166
166
if messages:
167
167
pytest.fail(
Original file line number Diff line number Diff line change 13
13
python -m coverage combine
14
14
python -m coverage xml
15
15
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
You can’t perform that action at this time.
0 commit comments