[New-bugs-announce] [issue35252] test_functools dead code after FIXME

Lysandros Nikolaou report at bugs.python.org
Wed Nov 14 20:14:23 EST 2018

New submission from Lysandros Nikolaou <lisandrosnik at gmail.com>:

In test_functools.TestSingleDispatch.test_invalid_registrations (https://github.com/python/cpython/blob/4c596d54aa6a55e9d2a3db78891e656ebbfb63c8/Lib/test/test_functools.py#L2299) there is a FIXME with an immediate return afterwards that says that the code after the return should only be allowed to run after PEP 560 is implemented. Now that it is implemented the dead code should work fine, so the return has to be deleted.

components: Tests
messages: 329937
nosy: lys.nikolaou
priority: normal
severity: normal
status: open
title: test_functools dead code after FIXME
versions: Python 3.8

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list