changeset: 101355:f5e20abea871 branch: 2.7 parent: 101334:10c3d1527e88 user: Terry Jan Reedy date: Sun May 15 23:52:50 2016 -0400 files: Lib/idlelib/idle_test/README.txt description: Issue 18910: Edit idle_test/README.txt to add 'requires' warning. diff -r 10c3d1527e88 -r f5e20abea871 Lib/idlelib/idle_test/README.txt --- a/Lib/idlelib/idle_test/README.txt Sat May 14 07:25:37 2016 +0000 +++ b/Lib/idlelib/idle_test/README.txt Sun May 15 23:52:50 2016 -0400 @@ -65,6 +65,8 @@ 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: