Closed yeputons closed 5 years ago
Verified that @yeputons has signed the CLA. Thanks for the pull request!
The PR is pending and out-of-date. Anyone want to update this and merge it? @boxcla
@guoquan As there were no code changes between March 3 and today, I've just rebased my change onto the latest commit. There were some README/MANIFEST changes, which I believe to not affect this patch at all.
I am not with box. @yeputons I reviewed you commit and it looks great. Just hope @boxcla would merge the PR soon.
@yeputons @Jeff-Meadows Thanks!
Cheers!
This fixes #116 . In particular, if there are tests marked
flaky
, but they are deselected by pytest (e.g. with-k
flag), then no report will be printed as well. In particular, that removes any extra output when running pytest on tests which do not useflaky
, butflaky
is installed.I think that this change may use some end-to-end automatic tests, but I'm not sure where or how to add them. Any suggestions?
I've tested it locally, though: created a virtualenv with
pytest
, ransetup.py install
and checked that the following file prints report whenpy.test
without parameters and does not print report when run with-k test_foo
: