Path: csiph.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'cpython': 0.05; 'python3': 0.05; 'skip:" 60': 0.05; 'tests,': 0.07; 'true)': 0.07; 'unittest': 0.07; 'creighton': 0.09; 'failed:': 0.09; 'false)': 0.09; 'namespace': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:= 70': 0.10; 'itself.': 0.11; 'jan': 0.11; 'output': 0.13; 'failures,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:gui': 0.16; 'subject:run': 0.16; 'verbose=0,': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'test.': 0.18; 'creates': 0.18; 'tests': 0.18; '2015': 0.20; 'aug': 0.20; 'tracker': 0.20; 'new,': 0.22; 'tkinter': 0.22; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; 'testing': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'rest': 0.26; 'fri,': 0.27; '+0200,': 0.27; 'concern': 0.29; 'follows': 0.29; 'hash': 0.29; 'skip:( 50': 0.29; 'subject:users': 0.29; 'that.': 0.30; 'run': 0.33; 'url:python': 0.33; 'idle': 0.33; 'skip:/ 20': 0.33; 'traceback': 0.33; 'case,': 0.34; 'file': 0.34; 'skip:d 20': 0.34; 'fail': 0.35; 'false': 0.35; 'subject:please': 0.35; 'too': 0.36; 'skip:i 20': 0.36; 'there': 0.36; 'url:org': 0.36; 'lines': 0.36; 'possible': 0.36; 'framework': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'received:org': 0.37; 'skip:s 40': 0.38; 'thank': 0.38; 'test': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'your': 0.60; 'skip:n 10': 0.62; '(that': 0.63; 'more': 0.63; 'personal': 0.63; 'you.': 0.64; 'jul': 0.72; 'otten': 0.84; 'ttk': 0.84; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Linux users: please run gui tests Date: Fri, 7 Aug 2015 21:04:26 -0400 References: <87wpx7fsb9.fsf@Equus.decebal.nl> <87si7vfqwn.fsf@Equus.decebal.nl> <201508071238.t77CcY7n018432@fido.openend.se> <201508071346.t77DkL2t031696@fido.openend.se> <201508071701.t77H1Csn004579@fido.openend.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <201508071701.t77H1Csn004579@fido.openend.se> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 74 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438995886 news.xs4all.nl 2956 [2001:888:2000:d::a6]:44804 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95148 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