]> granicus.if.org Git - python/commitdiff
Issue 18910: Edit idle_test/README.txt to add 'requires' warning.
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 16 May 2016 03:52:50 +0000 (23:52 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Mon, 16 May 2016 03:52:50 +0000 (23:52 -0400)
Lib/idlelib/idle_test/README.txt

index 2339926ef337c889b6d3a31292db3f0e6c58f541..632b2668cd62214e90fd6f6c211cafa8554c59e7 100644 (file)
@@ -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: