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


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

Re: Python < 3.5 tests

From Robert Collins <robertc@robertcollins.net>
Newsgroups linux.debian.maint.python
Subject Re: Python < 3.5 tests
Date 2015-10-08 01:20 +0200
Message-ID <qh6a6-2y3-13@gated-at.bofh.it> (permalink)
References (1 earlier) <qh4hX-8jR-1@gated-at.bofh.it> <qh5nI-1oq-7@gated-at.bofh.it> <qh5H4-1L2-23@gated-at.bofh.it> <qh5QJ-1Wj-5@gated-at.bofh.it> <qh60p-2mN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8 October 2015 at 12:05, Ben Finney <ben+debian@benfinney.id.au> wrote:
> Robert Collins <robertc@robertcollins.net> writes:
>
>> On 8 October 2015 at 11:47, Ben Finney <ben+debian@benfinney.id.au> wrote:
>> > If you have a code base that is intended to run unchanged on Python
>> > 2 and Python 3, and that code base imports ‘unittest2’, you need
>> > both the Python 2 and Python 3 version of that package.
>> >
>> > If your code base targets only Python 3, it should not be using
>> > ‘unittest2’ at all.
>>
>> Thats false. unittest2 is a rolling backport.
>
> I'm not sure how that disagrees with what I wrote.
>
> Are you saying ‘unittest2’ is useful on Python 3.3 (for example) because
> it has improvements from later Python 3 standard library ‘unittest’?

Yes, exactly. unittest2 is useful and relevant on Python 3.2/3.3/3.4
today. Once we get some fixes into 3.6, it will be useful and relevant
for 3.5 users.

> Or something else?

-Rob


-- 
Robert Collins <rbtcollins@hp.com>
Distinguished Technologist
HP Converged Cloud

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next 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