[New-bugs-announce] [issue43627] What are the requirements for a test_sunry-testable script in Tools/scripts?

Skip Montanaro report at bugs.python.org
Thu Mar 25 16:35:30 EDT 2021


New submission from Skip Montanaro <skip.montanaro at gmail.com>:

In my fork of python/cpython I recently created a simple script to help me with my work (I am messing around in the internals and sometimes get blindsided by opcode changes). I stuck the script in Tools/script which caused test_tools.test_sundry to hang. (I suspect it's because my script reads from sys.stdin, but I'm not certain. The old Unix pipeline ways die hard.)

Looking around to see how I could modify my script to make it acceptable to test_sundry, I saw nothing about requirements. I tossed it in the TestSundryScripts.other list and now that test completes. Still, it seems there should be a bit written about what it takes for a script to be amenable to the minimal testing test_sundry.py performs.

----------
components: Tests
messages: 389526
nosy: skip.montanaro
priority: normal
severity: normal
status: open
title: What are the requirements for a test_sunry-testable script in Tools/scripts?
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43627>
_______________________________________


More information about the New-bugs-announce mailing list