Skip to content

Add tests for Tix #65536

Closed
Closed

Description

@zware
BPO 21337
Nosy @terryjreedy, @zware, @serhiy-storchaka

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 = None
closed_at = <Date 2016-09-15.03:37:42.130>
created_at = <Date 2014-04-23.20:46:48.419>
labels = ['easy', 'tests', 'type-feature', 'expert-tkinter']
title = 'Add tests for Tix'
updated_at = <Date 2016-09-15.03:37:42.128>
user = 'https://github.com/zware'

bugs.python.org fields:

activity = <Date 2016-09-15.03:37:42.128>
actor = 'zach.ware'
assignee = 'none'
closed = True
closed_date = <Date 2016-09-15.03:37:42.130>
closer = 'zach.ware'
components = ['Tests', 'Tkinter']
creation = <Date 2014-04-23.20:46:48.419>
creator = 'zach.ware'
dependencies = []
files = []
hgrepos = []
issue_num = 21337
keywords = ['easy']
message_count = 5.0
messages = ['217089', '233367', '243448', '243449', '276511']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'python-dev', 'zach.ware', 'serhiy.storchaka']
pr_nums = []
priority = 'low'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue21337'
versions = ['Python 3.5']

Activity

  1. zware commented on Apr 23, 2014

    @zware
    MemberAuthor

    We should have some tests for Tix, which currently has none. The Windows buildbots will be able to run the tests, but Tix is not guaranteed to be available elsewhere.

  2. added
    tests
    type-feature
    on Apr 23, 2014
  3. terryjreedy commented on Jan 3, 2015

    @terryjreedy
    Member

    A minimal test would be that the one in the doc.

    from tkinter import tix
    root = tix.Tk()
    root.tk.eval('package require Tix')

    This passes on my 3.4.2 win7. I believe the first line should work on any system with _tkinter, whereas
    https://stackoverflow.com/questions/27751923/tix-widgets-installation-issue

    reports failure of the second line on his Mac with ...
    self.tk.eval('package require Tix')
    _tkinter.TclError: can't find package Tix

  4. python-dev commented on May 18, 2015

    python-devmannequin
    Mannequin

    New changeset eeea91d0506b by Zachary Ware in branch 'default':
    Issue bpo-21337: Add bare-bones Tix test
    https://hg.python.org/cpython/rev/eeea91d0506b

  5. zware commented on May 18, 2015

    @zware
    MemberAuthor

    As a prerequisite for bpo-20035, I've added the simplest test possible that just makes sure Tix is available on Windows. I only added it on default as I don't have the facilities to test it properly on 2.7 and 3.4 on Windows (which is the only platform actually testing anything so far), but it should be simple enough to copy it over if anybody wants to or ever writes some real tests for Tix.

    Leaving this issue open as some real tests would still be nice.

  6. zware commented on Sep 15, 2016

    @zware
    MemberAuthor

    Tix is now deprecated, extra tests are unnecessary.

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    easyteststopic-tkintertype-feature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions