From: Terry Jan Reedy Date: Mon, 16 May 2016 03:52:50 +0000 (-0400) Subject: Issue 18910: Edit idle_test/README.txt to add 'requires' warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6904ca3a5add8d344f4278b96abac466ec538011;p=python Issue 18910: Edit idle_test/README.txt to add 'requires' warning. --- diff --git a/Lib/idlelib/idle_test/README.txt b/Lib/idlelib/idle_test/README.txt index 2339926ef3..632b2668cd 100644 --- a/Lib/idlelib/idle_test/README.txt +++ b/Lib/idlelib/idle_test/README.txt @@ -65,6 +65,8 @@ widget attributes should also be deleted.. cls.root.destroy() del cls.root +WARNING: In 2.7, "requires('gui') MUST NOT be called at module scope. +See https://bugs.python.org/issue18910 Requires('gui') causes the test(s) it guards to be skipped if any of a few conditions are met: