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-Tag: v2.7.12rc1~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6904ca3a5add8d344f4278b96abac466ec538011;p=thirdparty%2FPython%2Fcpython.git 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 2339926ef337..632b2668cd62 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: