From 6904ca3a5add8d344f4278b96abac466ec538011 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sun, 15 May 2016 23:52:50 -0400 Subject: [PATCH] Issue 18910: Edit idle_test/README.txt to add 'requires' warning. --- Lib/idlelib/idle_test/README.txt | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.50.1