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


Groups > comp.lang.python > #95127

Re: Linux users: please run gui tests

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 <python-python-list@m.gmane.org>
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 <mailman.1287.1438913259.3674.python-list@python.org> <87wpx7fsb9.fsf@Equus.decebal.nl> <87si7vfqwn.fsf@Equus.decebal.nl> <mq1svm$eck$1@ger.gmane.org> <CAPTjJmoozQ26245nN7qEcz-kW7g_OtL3zgQOtQeH2ku1+eznJQ@mail.gmail.com> <201508071238.t77CcY7n018432@fido.openend.se> <mq2ah2$95g$1@ger.gmane.org> <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1309.1438961712.3674.python-list@python.org> (permalink)
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

Show key headers only | View raw


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.

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