[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue27918] Running test suites without gui but still having windows flash
From:       "Terry J. Reedy" <report () bugs ! python ! org>
Date:       2016-08-31 20:46:30
Message-ID: 1472676390.09.0.58127956829.issue27918 () psf ! upfronthosting ! co ! za
[Download RAW message or body]


Terry J. Reedy added the comment:

To my surprise, "python -m test test_idle" gives a single flash in Windows.  #22770 \
modified /Lib/test/support/__init__.py and added the creation and packing of a Label. \
Those two lines are gone in repository 3.6 but the flash is still there, I added \
root.withdraw() at line 469 and the flash is gone.

        try:
            from tkinter import Tk
            root = Tk()
            root.withdraw()
            root.update()
            root.destroy()

I added a Label packing back and the flash is still gone here.

> "use test.support.import_module with no reason " ???
I used import_module in test_idle because I was told to and had to to prevent \
inappropriate test failures.  Please explain what you mean.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue27918>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic