This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2011-04-26.00:01:08
SpamBayes Score 0.3204715
Marked as misclassified No
Message-id <1303776069.41.0.205034979563.issue11925@psf.upfronthosting.co.za>
In-reply-to
Content
Code of the test:
-----------------------------------------
class NotebookTest(unittest.TestCase):

    def setUp(self):
        support.root_deiconify()
        self.nb = ttk.Notebook(padding=0)
        self.child1 = ttk.Label()
        self.child2 = ttk.Label()
        self.nb.add(self.child1, text='a')
        self.nb.add(self.child2, text='b')



    def test_traversal(self):
        self.nb.pack()
        self.nb.wait_visibility()

        self.nb.select(0)

        support.simulate_mouse_click(self.nb, 5, 5)
        self.nb.focus_force()
        self.nb.event_generate('<Control-Tab>')
        self.assertEqual(self.nb.select(), str(self.child2)) <~~~ HERE
        ...
-----------------------------------------
History
Date User Action Args
2011-04-26 00:01:09vstinnersetrecipients: + vstinner
2011-04-26 00:01:09vstinnersetmessageid: <1303776069.41.0.205034979563.issue11925@psf.upfronthosting.co.za>
2011-04-26 00:01:08vstinnerlinkissue11925 messages
2011-04-26 00:01:08vstinnercreate