-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
exclude empty setup/teardown from --durations #4063
Copy link
Copy link
Closed
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortopic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Metadata
Metadata
Assignees
Labels
good first issueeasy issue that is friendly to new contributoreasy issue that is friendly to new contributortopic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Type
Fields
Give feedbackNo fields configured for issues without a type.
Write a test without setup or tear-down:
Run
pytest --durations 0on this test. Observe something likeOn medium-size testsuites, where one would like to see timings off all tests that run, these useless 0.00s entries clutter the output, so I'd suggest to remove them.
Versions
python-pytest 3.8.1-1
python 3.7.0-4
from archlinux repos