Last active
September 2, 2022 09:22
-
-
Save kurtschelfthout/d4dbe132771cf96d6b401eddfacfa33a to your computer and use it in GitHub Desktop.
referenced from pytest-cloudist Medium article for Meadowrun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pytest_report_teststatus(report): | |
category, short, verbose = '', '', '' | |
if hasattr(report, 'wasxfail'): | |
if report.skipped: | |
category = 'xfailed' | |
verbose = 'xfail' | |
elif report.passed: | |
category = 'xpassed' | |
verbose = ('XPASS', {'yellow': True}) | |
return (category, short, verbose) | |
elif report.when in ('setup', 'teardown'): | |
if report.failed: | |
category = 'error' | |
verbose = 'ERROR' | |
elif report.skipped: | |
category = 'skipped' | |
verbose = 'SKIPPED' | |
return (category, short, verbose) | |
category = report.outcome | |
verbose = category.upper() | |
return (category, short, verbose) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In pandas/tests/scalar, skipped test_timedelta::test_round_sanity and test_unary_ops::test_round_sanity as they are flaky. | |
Skipped pandas/tests/test_common::test_git_version as didn't have a git repository on the remote workers. | |
Skipped pandas/tests/util/test_show_versions::test_show_versions_console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cython==0.29.30 | |
pytest>=6.0 | |
pytest-cov | |
pytest-xdist>=1.31 | |
psutil | |
pytest-asyncio>=0.17 | |
boto3 | |
python-dateutil | |
numpy | |
pytz | |
hypothesis | |
lxml | |
setuptools>=51.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment