-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogmight present some backward compatibility issues which should be carefully noted in the changelog
Description
As per pytest-dev/pluggy#38 and pep 479, it seems that some pluggy hook wrappers implemented in pytest are still using the soon to be deprecated raise StopIteration mechanism to signal early generator termination.
An example would be pytest_pycollect_makeitem.
As indicated in the pep all such usage should be changed to simple returns in Py3.6+.
Metadata
Metadata
Assignees
Labels
type: backward compatibilitymight present some backward compatibility issues which should be carefully noted in the changelogmight present some backward compatibility issues which should be carefully noted in the changelog