Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!border1.nntp.ams1.giganews.com!border2.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python3': 0.05; 'unittest': 0.07; 'creighton': 0.09; 'failed:': 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; 'python': 0.10; 'output': 0.13; 'grepping': 0.16; 'magic': 0.16; 'occurred;': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'sees': 0.16; 'subject:gui': 0.16; 'subject:run': 0.16; 'verbose': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'tests': 0.18; '2015': 0.20; 'aug': 0.20; 'are.': 0.22; 'ok.': 0.22; 'produces': 0.22; 'errors': 0.23; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'fri,': 0.27; '+0200,': 0.27; 'package.': 0.27; 'actual': 0.28; 'now?': 0.29; 'subject:users': 0.29; 'url:se': 0.29; "i'd": 0.31; 'run': 0.33; 'useful': 0.33; 'skip:/ 20': 0.33; 'file': 0.34; 'running': 0.34; 'gives': 0.35; 'skip:> 10': 0.35; 'subject:please': 0.35; 'but': 0.36; 'too': 0.36; 'there': 0.36; 'lines': 0.36; 'possible': 0.36; 'framework': 0.36; 'mode': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'anything': 0.38; 'thank': 0.38; 'test': 0.39; 'to:addr:python.org': 0.40; 'still': 0.40; 'received:de': 0.40; 'your': 0.60; 'details': 0.62; 'here.': 0.62; '(that': 0.63; 'you.': 0.64; 'url:www2': 0.66; 'touch': 0.66; 'conclude': 0.84; 'otten': 0.84; 'url:out': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: Linux users: please run gui tests Date: Fri, 07 Aug 2015 17:34:54 +0200 Organization: None References: <87wpx7fsb9.fsf@Equus.decebal.nl> <87si7vfqwn.fsf@Equus.decebal.nl> <201508071238.t77CcY7n018432@fido.openend.se> <201508071346.t77DkL2t031696@fido.openend.se> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p57bd973a.dip0.t-ipconnect.de User-Agent: KNode/4.13.3 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: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438961712 news.xs4all.nl 2826 [2001:888:2000:d::a6]:41895 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95127 Laura Creighton wrote: > In a message of Fri, 07 Aug 2015 15:06:41 +0200, Peter Otten writes: >>$ touch test.py >>$ python -c import\ test >>$ rm test.py >>$ python3 -m test -ugui test_tk >>/usr/bin/python3: bad magic number in 'test': b'\x03\xf3\r\n' >> >>>From that I'd conclude that your python3 sees a leftover python2 pyc >>>instead >>of the actual test package. Have a look at your working directory or >>PYTHONPATH. > > Right you are. Thank you. > > lac@smartwheels:~$ python3 -m test -ugui test_tk test_ttk_guionly > test_idle > [1/3] test_tk > test test_tk failed -- multiple errors occurred; run in verbose mode for > details > [2/3/1] test_ttk_guionly > [3/3/1] test_idle > 2 tests OK. > 1 test failed: > test_tk > > running python3 -v -m test -ugui test_tk 2>test_tk.out produces a whole > lot of output. > > I put the file up here. > http://www2.openend.se/~lac/test_tk.out > > But I don't think there is anything useful in it. grepping the file > for 'failed' only gives you the same old > est test_tk failed -- multiple errors occurred; run in verbose mode for > details > > What would you (Terry) like me to do now? Run $ python3 -m test -ugui -v test_tk (That way the unittest framework will see the -v option) 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.