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


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

Re: Python < 3.5 tests

From Brian May <brian@microcomaustralia.com.au>
Newsgroups linux.debian.maint.python
Subject Re: Python < 3.5 tests
Date 2015-10-08 23:50 +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>
Organization linux.* mail to news gateway

Show all headers | 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