This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tekknolagi
Recipients tekknolagi
Date 2020-10-29.21:22:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604006526.43.0.914046612592.issue42199@roundup.psfhosted.org>
In-reply-to
Content
assertNotInBytecode should only fail if:

* the instr matches and the arg is unspecified, or
* the instr matches, the arg is specified, and the arg matches

But right now it fails in a third case because of the dangling self.fail() call. The self.fail() call should be moved into the `if`/`elif`.
History
Date User Action Args
2020-10-29 21:22:06tekknolagisetrecipients: + tekknolagi
2020-10-29 21:22:06tekknolagisetmessageid: <1604006526.43.0.914046612592.issue42199@roundup.psfhosted.org>
2020-10-29 21:22:06tekknolagilinkissue42199 messages
2020-10-29 21:22:06tekknolagicreate