Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_ttk test_heading_callback fails with newer Tk 8.5 #54943

Closed
pitrou opened this issue Dec 18, 2010 · 8 comments
Closed

test_ttk test_heading_callback fails with newer Tk 8.5 #54943

pitrou opened this issue Dec 18, 2010 · 8 comments
Assignees
Labels
tests Tests in the Lib/test dir topic-tkinter type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Dec 18, 2010

BPO 10734
Nosy @loewis, @birkenfeld, @pitrou, @ned-deily, @serhiy-storchaka
Files
  • test_heading_callback.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2013-11-13.19:03:36.996>
    created_at = <Date 2010-12-18.21:15:14.236>
    labels = ['tests', 'type-bug', 'expert-tkinter']
    title = 'test_ttk test_heading_callback fails with newer Tk 8.5'
    updated_at = <Date 2013-11-13.19:03:36.996>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2013-11-13.19:03:36.996>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-11-13.19:03:36.996>
    closer = 'serhiy.storchaka'
    components = ['Tests', 'Tkinter']
    creation = <Date 2010-12-18.21:15:14.236>
    creator = 'pitrou'
    dependencies = []
    files = ['32387']
    hgrepos = []
    issue_num = 10734
    keywords = ['patch']
    message_count = 8.0
    messages = ['124318', '124324', '124334', '124338', '139735', '139736', '201446', '201966']
    nosy_count = 8.0
    nosy_names = ['loewis', 'georg.brandl', 'pitrou', 'gpolo', 'ned.deily', 'Arfrever', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue10734'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    @pitrou
    Copy link
    Member Author

    pitrou commented Dec 18, 2010

    It looks like the Windows buildbots have been failing since the tk upgrade (at least, I'm assuming it is related since there haven't been any tk changes recently).

    ======================================================================
    FAIL: test_heading_callback (tkinter.test.test_ttk.test_widgets.TreeviewTest)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\tkinter\test\test_ttk\test_widgets.py", line 945, in test_heading_callback
        self.fail("The command associated to the treeview heading wasn't "
    AssertionError: The command associated to the treeview heading wasn't invoked.

    (see e.g. http://www.python.org/dev/buildbot/all/builders/AMD64%20Windows%20Server%202008%203.x )

    @pitrou pitrou added release-blocker tests Tests in the Lib/test dir topic-tkinter type-bug An unexpected behavior, bug, or error labels Dec 18, 2010
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Dec 18, 2010

    I don't think this needs to block the beta release.

    @birkenfeld
    Copy link
    Member

    Deferring.

    @birkenfeld
    Copy link
    Member

    I disabled the test temporarily in r87395 -- it needs to be reenabled after fixing this.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 4, 2011

    New changeset 8dde71899733 by Ned Deily in branch '2.7':
    Issue bpo-10734: Temporarily disable test_ttk test_heading_callback on 2.7 as well.
    http://hg.python.org/cpython/rev/8dde71899733

    @ned-deily
    Copy link
    Member

    The failure is not unique to Windows. It fails on OS X with the current ActiveState Tk 8.5.9. I've temporarily disabled the test on 2.7 as well.

    @ned-deily ned-deily changed the title test_ttk failure under Windows test_ttk test_heading_callback fails with newer Tk 8.5 Jul 4, 2011
    @serhiy-storchaka
    Copy link
    Member

    I think this patch fixes this issue.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 2, 2013

    New changeset 0554e2d37bf8 by Serhiy Storchaka in branch '2.7':
    Issue bpo-10734: Fix and re-enable test_ttk test_heading_callback.
    http://hg.python.org/cpython/rev/0554e2d37bf8

    New changeset a58fce53e873 by Serhiy Storchaka in branch '3.3':
    Issue bpo-10734: Fix and re-enable test_ttk test_heading_callback.
    http://hg.python.org/cpython/rev/a58fce53e873

    New changeset f647a2c5f290 by Serhiy Storchaka in branch 'default':
    Issue bpo-10734: Fix and re-enable test_ttk test_heading_callback.
    http://hg.python.org/cpython/rev/f647a2c5f290

    @serhiy-storchaka serhiy-storchaka self-assigned this Nov 2, 2013
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir topic-tkinter type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants