Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95148

Re: Linux users: please run gui tests

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Linux users: please run gui tests
Date 2015-08-07 21:04 -0400
References (4 earlier) <CAPTjJmoozQ26245nN7qEcz-kW7g_OtL3zgQOtQeH2ku1+eznJQ@mail.gmail.com> <201508071238.t77CcY7n018432@fido.openend.se> <mq2ah2$95g$1@ger.gmane.org> <201508071346.t77DkL2t031696@fido.openend.se><mq2j70$tri$1@ger.gmane.org> <201508071701.t77H1Csn004579@fido.openend.se>
Newsgroups comp.lang.python
Message-ID <mailman.1319.1438995886.3674.python-list@python.org> (permalink)

Show all headers | View raw


On 8/7/2015 1:01 PM, Laura Creighton wrote:
> In a message of Fri, 07 Aug 2015 17:34:54 +0200, Peter Otten writes:
>> Run
>>
>> $ python3 -m test -ugui -v test_tk
>>
>> (That way the unittest framework will see the -v option)
>
> Aha, I didn't understand that.  Thank you.
>
>> Note that there are lines like
>>
>> # possible namespace for /home/lac/src/accounting/test
>>
>> in your python3 -v output that indicate that there may still be too much in
>> your PYTHONPATH.
>
> It's now "" for this test.
>
> I get 3 failures, as follows (I trimmed the rest of the ok ones).
>
> = 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

The only thing I found on the tracker is
https://bugs.python.org/issue20067
I suspect that this is more an issue with the tests, which are somewhat 
new, than tkinter itself.  In any case, my personal concern is whether 
adding ttk to Idle creates a problem, and those two tests passes.  Thank 
you for trying.



-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-06 22:07 -0400
  Re: Linux users: please run gui tests Grant Edwards <invalid@invalid.invalid> - 2015-08-07 03:43 +0000
    Re: Linux users: please run gui tests Grant Edwards <invalid@invalid.invalid> - 2015-08-07 03:46 +0000
      Re: Linux users: please run gui tests Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-07 08:08 +0100
      Re: Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-07 20:40 -0400
  Re: Linux users: please run gui tests Cecil Westerhof <Cecil@decebal.nl> - 2015-08-07 09:53 +0200
    Re: Linux users: please run gui tests Cecil Westerhof <Cecil@decebal.nl> - 2015-08-07 10:23 +0200
      Re: Linux users: please run gui tests Peter Otten <__peter__@web.de> - 2015-08-07 11:15 +0200
        Re: Linux users: please run gui tests Cecil Westerhof <Cecil@decebal.nl> - 2015-08-07 12:59 +0200
          Re: Linux users: please run gui tests Cecil Westerhof <Cecil@decebal.nl> - 2015-08-07 14:36 +0200
      Re: Linux users: please run gui tests Chris Angelico <rosuav@gmail.com> - 2015-08-07 19:51 +1000
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-07 14:38 +0200
      Re: Linux users: please run gui tests Peter Otten <__peter__@web.de> - 2015-08-07 15:06 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-07 15:46 +0200
      Re: Linux users: please run gui tests Peter Otten <__peter__@web.de> - 2015-08-07 17:34 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-07 19:01 +0200
      Re: Linux users: please run gui tests Peter Otten <__peter__@web.de> - 2015-08-07 21:13 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-07 22:35 +0200
      Re: Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-07 21:04 -0400
      Re: Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-07 21:25 -0400
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-08 08:35 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-08 08:40 +0200
      Re: Linux users: please run gui tests Peter Otten <__peter__@web.de> - 2015-08-08 09:53 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-08 17:41 +0200
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-08 19:20 +0200
      Re: Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-12 21:49 -0400
      Re: Linux users: please run gui tests Laura Creighton <lac@openend.se> - 2015-08-13 07:11 +0200
      Re: Linux users: please run gui tests Terry Reedy <tjreedy@udel.edu> - 2015-08-13 07:55 -0400
  Re: Linux users: please run gui tests David Bolen <db3l.net@gmail.com> - 2015-08-07 16:53 -0400

csiph-web