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


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

Re: Python < 3.5 tests

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <brian@microcomaustralia.com.au>
Newsgroups linux.debian.maint.python
Subject Re: Python < 3.5 tests
Date Thu, 08 Oct 2015 23:50:04 +0200
Message-ID <qhreA-7rq-61@gated-at.bofh.it> (permalink)
References <qh4hX-8jR-3@gated-at.bofh.it> <qhhRV-2oG-51@gated-at.bofh.it> <qhqLw-6Te-7@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Oct 8 21:40:47 2015
Old-Return-Path <brian@microcomaustralia.com.au>
X-Amavis-Spam-Status No, score=-4.779 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microcomaustralia.com.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc :content-type; bh=B1MR8HPh9d9sfjH7jHNrLMyQJ63WQ2m81cp+1sZcbSk=; b=BwYvNi7k7YK+n0OPt9TYEzwDEbnbv01Zrx9IO7GCL8ftcGmXA0N5C0cPyPFbGcIlSV RDafacJd8A4Su3PQBvN2zSKNr1oeMDdVtVgi9jczDIxZZuhCsdshcDTc/JBpHDfHB1gQ IpCfwEJeXsei1k51XNRqg4gC9Gm/LQP+xCaDA=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc:content-type; bh=B1MR8HPh9d9sfjH7jHNrLMyQJ63WQ2m81cp+1sZcbSk=; b=iMEJPziALLpvFpkUoHgMu1JqKNAekVdM8FPwQ5Sn6dNA1RoY3t8fZOH4k+acC1dahp d2agRaGHKO3NPAnd32QNt+m1qDPQU2du5M0k5n3agrB/ouG8JatmvTTwxifSpKLHsqT/ LzwT8tB4kyzZB0XqnhQmg6G7BFejo7m5Dy6UImP5ffCYaQD40hb2194TETmoYUL9pRI0 fo7d0EwjLuUvjJcDxGJ7sDfSju1AHL0HksTlhpmmSfRouD9zGd+ukz7FEn4Kg8FXHgot iRYHyu/5vIhx9eRtOdKNhRKCYUaa0NhmmnH0lbBssr0w7C/3IOJ2o8ZzCyWv2F6tfdBD cSDw==
X-Gm-Message-State ALoCoQmwxJYkUJ+9ALDRzxnE4t64ffHCuqOy33AteucjzOcuYMaEDk984s/ZBu30gZ9f6L7K7e5q
X-Received by 10.50.20.38 with SMTP id k6mr6538598ige.57.1444340428888; Thu, 08 Oct 2015 14:40:28 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/alternative; boundary=047d7bd7598a32fb1305219eb6c5
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12879
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAA0ZO6C=qgimCUYDKTRqGxshExiLBFJTJ60=tiKnXE=+r8SOUw@mail.gmail.com
Approved robomod@news.nic.it
Lines 51
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, 08 Oct 2015 21:40:19 +0000
X-Original-Message-ID <CAA0ZO6C=qgimCUYDKTRqGxshExiLBFJTJ60=tiKnXE=+r8SOUw@mail.gmail.com>
X-Original-References <20151007211222.GA16055@prune.in.vpac.org> <20151008114344.2592.41864@mitya57.me> <CAJ3HoZ2jWias_awhGHphGrnTRjemwH1gLw718HP+yPMWrhZYXg@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:7568

Show key headers only | View raw


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

On Fri, 9 Oct 2015 at 08:16 Robert Collins <robertc@robertcollins.net>
wrote:

> But - ajax_select/__init__.py is going to be imported, and thats whats
> erroring. I don't think that this is a 3.5 unit testing change - I
> think its an error importing some bit of django.
>

Except there is no errors under Python2.7. If Python2.7 or Python3.4 loaded
ajax_select/__init__.py I would expect to see exactly the same Django error.

To test this out, I just put "raise RuntimeError()" into
ajax_select/__init__.py
I get the same results for Python2.7 and Python3.4, however Python3.5
generates the exception.

So it does seem like it really is the case that Python3.5 now loads
ajax_select/__init__.py when no tests exist, when this previously didn't
happen.


Bug #800137 is a complication. Am seriously thinking maybe we should
backport the change (a very simple change) into our version of Django.

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


Thread

Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-07 23:20 +0200
  Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 08:00 +0200
    Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 08:20 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 13:20 +0200
        Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-08 15:30 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 08:30 +0200
        Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 08:50 +0200
  Re: Python < 3.5 tests Dmitry Shachnev <mitya57@debian.org> - 2015-10-08 13:50 +0200
    Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 22:40 +0200
    Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 23:20 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:50 +0200
        Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 23:50 +0200
          Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 00:00 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:50 +0200
    Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-08 23:30 +0200
      Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-09 00:00 +0200
      Re: Python < 3.5 tests Piotr Ożarowski <piotr@debian.org> - 2015-10-09 00:00 +0200
    Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:30 +0200

csiph-web