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


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

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:00 +0200
Message-ID <qh5QJ-1Wj-3@gated-at.bofh.it> (permalink)
References <qh4hX-8jR-3@gated-at.bofh.it> <qh4hX-8jR-1@gated-at.bofh.it> <qh5nI-1oq-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 8 October 2015 at 11:26, Brian May <brian@microcomaustralia.com.au> wrote:
> On Thu, 8 Oct 2015 at 08:18 Robert Collins <robertc@robertcollins.net>
> wrote:
>>
>> Probably the discover improvements in 3.5 try using python -m
>> unittest2.discover
>
>
> Just trying that now.
>
> I see that there is a python3-unittest2 package - should I be using that one
> or the unittest built in Python 3.5?

let me check I understood the symptoms:
python3.5 - works
python2.x fails
python3.4 fails

So for that - use unittest2 consistently everywhere IMO.

-Rob

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

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