[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2015-08-13 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Please open a new issue Laura.

--
nosy: +serhiy.storchaka
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2015-08-13 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Andrew (and others): I wasn't sure whether to reopen this or start a new issue. 
 Will re-close this and open new if preferable.

--
nosy: +terry.reedy
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2015-08-12 Thread Laura Creighton

Laura Creighton added the comment:

Terry Reedy asked me to add this here.  Either this bug is not fixed, or I am 
getting a new one.

I have tried this on several debian unstable releases.

lac at smartwheels:~$ lsb_release -a
 LSB Version:   
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
 Distributor ID:Debian
 Description:   Debian GNU/Linux unstable (sid)
 Release:   unstable
 Codename:  sid

Idle shows my tk version as 8.6.4
python3 -m test -ugui -v test_tk gives 3 failures

= CPython 3.4.3+ (default, Jul 28 2015, 13:17:50) [GCC 4.9.3]
==   Linux-3.16.0-4-amd64-x86_64-with-debian-stretch-sid little-endian
==   hash algorithm: siphash24 64bit
==   /tmp/test_python_7974
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, 
dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, 
verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)

test_default (tkinter.test.test_tkinter.test_variables.TestBooleanVar) ... FAIL
test_get (tkinter.test.test_tkinter.test_variables.TestBooleanVar) ... FAIL
test_set (tkinter.test.test_tkinter.test_variables.TestBooleanVar) ... FAIL

==
FAIL: test_default (tkinter.test.test_tkinter.test_variables.TestBooleanVar)
--
Traceback (most recent call last):
  File "/usr/lib/python3.4/tkinter/test/test_tkinter/test_variables.py", line 
163, in test_default
  self.assertIs(v.get(), False)
  AssertionError: 0 is not False

==
FAIL: test_get (tkinter.test.test_tkinter.test_variables.TestBooleanVar)
--
Traceback (most recent call last):
  File "/usr/lib/python3.4/tkinter/test/test_tkinter/test_variables.py", line 
167, in test_get
  self.assertIs(v.get(), True)
  AssertionError: 1 is not True

==
FAIL: test_set (tkinter.test.test_tkinter.test_variables.TestBooleanVar)
--
Traceback (most recent call last):
  File "/usr/lib/python3.4/tkinter/test/test_tkinter/test_variables.py", line 
186, in test_set
  self.assertEqual(self.root.globalgetvar("name"), true)
  AssertionError: 42 != 1

--
Ran 660 tests in 3.901s

FAILED (failures=3)
1 test failed:
test_tk

--
nosy: +lac

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2012-08-09 Thread Andrew Svetlov

Andrew Svetlov added the comment:

Agree with Martin. Fixed.
Thanks.

--
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2012-08-09 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 20a46c73855f by Andrew Svetlov in branch 'default':
Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4
http://hg.python.org/cpython/rev/20a46c73855f

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2012-08-08 Thread Martin v . Löwis

Martin v. Löwis added the comment:

The purpose of the test is to test whether get works on a string variable. Any 
boolean/string conversions aren't really relevant here, so we should just use a 
second string in the test (e.g. "def"), instead of True.

--
nosy: +loewis

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15601] tkinter test_variables fails with OS X Aqua Tk 8.4

2012-08-08 Thread Ned Deily

New submission from Ned Deily:

==
FAIL: test_get (tkinter.test.test_tkinter.test_variables.TestStringVar)
--
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/tkinter/test/test_tkinter/test_variables.py",
 line 85, in test_get
self.assertEqual("1", v.get())
AssertionError: '1' != 'True'
- 1
+ True

The OS X 32-bit installers for OS X 10.5+ link with Tcl/Tk 8.4 as that was the 
only version supplied by Apple for 10.5.  The test passes when linked with the 
Aqua Tcl/Tk 8.5 available in OS X 10.6+ and used with the 64-/32-bit OS X 
installers.

--
components: Tests, Tkinter
messages: 167759
nosy: asvetlov, ned.deily
priority: normal
severity: normal
stage: needs patch
status: open
title: tkinter test_variables fails with OS X Aqua Tk 8.4
versions: Python 3.3

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com