[issue39747] test_os debug assertion failure

Steve Dower report at bugs.python.org
Tue Feb 25 05:13:15 EST 2020


Steve Dower <steve.dower at python.org> added the comment:

Well, you're running a debug build but building a release build (unless you missed the "-d" from the command line -- "-e" is the default now, BTW), so your build may be out of sync.

These assertion dialogs are supposed to be suppressed during the test suite, but only when run using "python.bat -m test test_os". If you're running the OS tests any other way, then you'll see these popups.

(I hope you used Ctrl+C in the dialog to copy the text, by the way. That's a lot to copy out by hand!)

---

FWIW, these are very good assertions for most programs. But most programs are not intentionally passing arbitrary values into system calls, so we have to suppress them for Python :)

----------

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


More information about the Python-bugs-list mailing list