-
-
Couldn't load subscription status.
- Fork 1.4k
Closed
Labels
SeleniumBase 4SeleniumBase 4SeleniumBase 4dependenciesThis involves updating a dependency fileThis involves updating a dependency fileenhancementMaking things betterMaking things bettertestsThis involves test updates or new testsThis involves test updates or new tests
Description
Upgrade pytest to 7.2.0 to get all the new improvements
@pytest.mark.parametrize()(and similar functions) now accepts any Sequence[str] for the argument names, instead of just list[str] and tuple[str, ...].- The
--no-showlocalsflag has been added. This can be passed directly to tests to override--showlocalsdeclared through addopts. - Assertion failures with strings in NFC and NFD forms that normalize to the same string now have a dedicated error message detailing the issue, and their
utf-8representation is expressed instead. - Introduce multiline display for warning matching and enhancing match comparison.
- Improve
pytest.raises. Previously passing an empty tuple would give a confusing error. We now raise immediately with a more helpful message. - Display assertion message without escaped newline characters with
-vv. - Improved error message that is shown when no collector is found for a given file.
- Some coloring has been added to the short test summary.
- Normalize the help description of all command-line options.
- Display full crash messages in short test summary info, when running in a CI environment.
- Added support for hidden configuration file by allowing
.pytest.inias an alternative topytest.ini.
Metadata
Metadata
Assignees
Labels
SeleniumBase 4SeleniumBase 4SeleniumBase 4dependenciesThis involves updating a dependency fileThis involves updating a dependency fileenhancementMaking things betterMaking things bettertestsThis involves test updates or new testsThis involves test updates or new tests