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


Groups > linux.debian.maint.python > #7542

Re: Python < 3.5 tests

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Robert Collins <robertc@robertcollins.net>
Newsgroups linux.debian.maint.python
Subject Re: Python < 3.5 tests
Date Wed, 07 Oct 2015 23:20:01 +0200
Message-ID <qh4hX-8jR-1@gated-at.bofh.it> (permalink)
References <qh4hX-8jR-3@gated-at.bofh.it>
X-Original-To Brian May <brian@microcomaustralia.com.au>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Oct 7 21:18:49 2015
Old-Return-Path <robertc@robertcollins.net>
X-Amavis-Spam-Status No, score=-5.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight DYN_NJABL=ERR(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .robertcollins. - helo: .mail-ig0-f178.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZlbOs+HuTlY70kDbdCu3eooLG1ipvv2xguahBu38JiQ=; b=mLpqBS90xrMf3JsrwtLzmol4FBbY2umiw5daYxW0xw9e0DxuOAErR6cQGjJ7EjXzuy UqXJritP2GlxSJUTR73vvyZm7cONXNNFkvK3Hrzeei1AyeFl3dG3sqgwL3cWBct11Cqv o2pQbVpEwZ27JvrvOIsjvi7QdSc4pXp8vFPgR7eh4yJQxDJzR4+a9pm50RPtOSoi/7oa to9CWw4M616E0yV5rLbUQnoLmIHWSnHSX/UJQc5EiuqmNCoI+ViXpUBeEI01XxInX2WV 9AwSB/uKUCLlBeGUK62svYtM3+SP2oCRZ2q7p3Q6CuJPSJL7TYvkHNnitrprVdGd2e9N vs4Q==
X-Gm-Message-State ALoCoQlNBU53ecU7Ly773AEvdUe6GIAdi6dng3DcoBPQ5e+qNU+a630rnyYBmB0DzX5I2PMFl04d
MIME-Version 1.0
X-Received by 10.50.102.4 with SMTP id fk4mr26101095igb.14.1444252706223; Wed, 07 Oct 2015 14:18:26 -0700 (PDT)
X-Originating-IP [122.57.98.209]
Content-Type multipart/alternative; boundary=047d7b11198d85a6a205218a49ef
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12854
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAJ3HoZ1odybgLBzOsjzzS289r7ufvatLwuiFUG_gfaWTNc0szw@mail.gmail.com
Approved robomod@news.nic.it
Lines 105
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>
X-Original-Date Thu, 8 Oct 2015 10:18:26 +1300
X-Original-Message-ID <CAJ3HoZ1odybgLBzOsjzzS289r7ufvatLwuiFUG_gfaWTNc0szw@mail.gmail.com>
X-Original-References <20151007211222.GA16055@prune.in.vpac.org>
Xref csiph.com linux.debian.maint.python:7542

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Probably the discover improvements in 3.5 try using python -m
unittest2.discover
On 8 Oct 2015 10:12, "Brian May" <brian@microcomaustralia.com.au> wrote:

> Hello,
>
> When debugging #801208, I noticed the following output:
>
>    dh_auto_test -O--buildsystem=pybuild
>    I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_2.7/build;
>    python2.7 -m unittest discover -v
>
>    ----------------------------------------------------------------------
>    Ran 0 tests in 0.000s
>
>    OK
>    I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build;
>    python3.4 -m unittest discover -v
>
>    ----------------------------------------------------------------------
>    Ran 0 tests in 0.000s
>
>    OK
>    I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y_3.5/build;
>    python3.5 -m unittest discover -v
>    ajax_select (unittest.loader._FailedTest) ... ERROR
>
> So it looks like it can't find the tests under Python 2.7 or Python 3.4,
> so it use to work, however under Python 3.5 it now does find the tests
> and they fail.
>
> This left me wondering:
>
> * Why does it not find the tests under Python 2.7, 3.4? What is
>   different about Python 3.5 that it does?
> * Why is Python 3.4 still relevant? Hasn't 3.5 replaced 3.4? Why is it
>   being tested by pybuild?
>
> Regards
>
>

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar


Thread

Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-07 23:20 +0200
  Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 00:30 +0200
    Re: Python < 3.5 tests Ben Finney <ben+debian@benfinney.id.au> - 2015-10-08 00:50 +0200
      Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 01:00 +0200
        Re: Python < 3.5 tests Ben Finney <ben+debian@benfinney.id.au> - 2015-10-08 01:10 +0200
          Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 01:20 +0200
    Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 01:00 +0200

csiph-web