[issue35080] The tests for the `dis` module can be too rigid when changing opcodes
Maxime Belanger
report at bugs.python.org
Fri Oct 26 19:35:56 EDT 2018
New submission from Maxime Belanger <max at dropbox.com>:
For various reasons, one may want to change the `Lib/opcode.py` module. In doing so, this has caused us to frequently rewrite `test_dis.py`. It would be great if those tests used `dis.opmap` rather than hard-coded/magic numbers, as this would allow easier changes.
----------
messages: 328615
nosy: Maxime Belanger
priority: normal
severity: normal
status: open
title: The tests for the `dis` module can be too rigid when changing opcodes
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35080>
_______________________________________
More information about the Python-bugs-list
mailing list