Author Anthony Sottile
Recipients Anthony Sottile, Arfrever, brett.cannon, eric.snow, ncoghlan, python-dev
Date 2019-06-26.20:04:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561579442.67.0.766508560047.issue23014@roundup.psfhosted.org>
In-reply-to
Content
yeah I guess I'm just curious why this bug (seemingly intentionally) made the implementation diverge from PEP 451 and require an empty `create_module` (and where I would have found that except by searching bugs.python.org)

Everyone I've shown this bit of code has essentially said: "*headscratch* -- that's weird?" https://github.com/pytest-dev/pytest/blob/6a2d844c5d3e1e692d5bb6fa065c0d753d1dd7d1/src/_pytest/assertion/rewrite.py#L92-L93

why require the function at all I guess
History
Date User Action Args
2019-06-26 20:04:02Anthony Sottilesetrecipients: + Anthony Sottile, brett.cannon, ncoghlan, Arfrever, python-dev, eric.snow
2019-06-26 20:04:02Anthony Sottilesetmessageid: <1561579442.67.0.766508560047.issue23014@roundup.psfhosted.org>
2019-06-26 20:04:02Anthony Sottilelinkissue23014 messages
2019-06-26 20:04:02Anthony Sottilecreate