Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7551
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Robert Collins <robertc@robertcollins.net> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python < 3.5 tests |
| Date | Thu, 08 Oct 2015 01:00:01 +0200 |
| Message-ID | <qh5QJ-1Wj-5@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> <qh5H4-1L2-23@gated-at.bofh.it> |
| X-Original-To | Ben Finney <ben+debian@benfinney.id.au> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Oct 7 22:57:07 2015 |
| Old-Return-Path | <robertc@robertcollins.net> |
| X-Amavis-Spam-Status | No, score=-7.72 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | 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-f173.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 :content-transfer-encoding; bh=XyUmzBtbgkpkuZWWF9lO074dTP37OxZb6fm99d+ReV0=; b=EjuoG+7Fh9tbJZQ011KHMaTlCKTxs5kmc0fAMkg9ByPxBghBivWAfK5/dUqAlG04Zd wIX9m2/kajqHgGnWuOrUpXEFgGGOPvopDGynJ3wYJWVuke3GW2tbUUtYdDk6ZRuzLxNx cWSZoa+Jeh2EO+tol4uD6WAp0e54HbVYdlh9Lyyv7TtlnY5gV8gzRwlazv/EmWhxRNR2 V1KoC3QqAAX0e1faz39Wr+YJVs812gNfDK4PjDekJmACMBnkWW0XCzDIcoW5q4C1mIdC xOKjS7ztMdI+szsNqNoiCke4Ul5qzUl3QowVQxRfGipRIU5iC8FHvUtvHsFROBXxJjuh tBeA== |
| X-Gm-Message-State | ALoCoQk9v7jwDD1GtkzvWGy3ZynZUG1REtyug+Wvwc4mSik72CTEWOtp/x9cnpiK1bzsiTAejv63 |
| MIME-Version | 1.0 |
| X-Received | by 10.50.102.4 with SMTP id fk4mr252706igb.14.1444258607033; Wed, 07 Oct 2015 15:56:47 -0700 (PDT) |
| X-Originating-IP | [122.57.98.209] |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/12861 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAJ3HoZ0uXikmg1thjvEqTo2TYP0WjKZdYtfxtfi7hv7BMu8L6Q@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 25 |
| 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 11:56:46 +1300 |
| X-Original-Message-ID | <CAJ3HoZ0uXikmg1thjvEqTo2TYP0WjKZdYtfxtfi7hv7BMu8L6Q@mail.gmail.com> |
| X-Original-References | <20151007211222.GA16055@prune.in.vpac.org> <CAJ3HoZ1odybgLBzOsjzzS289r7ufvatLwuiFUG_gfaWTNc0szw@mail.gmail.com> <CAA0ZO6Aq7sHfLCYF-8EuC5qDSYSuKYijSgnuj8ZST_1meFLeiw@mail.gmail.com> <85k2qyxply.fsf@benfinney.id.au> |
| Xref | csiph.com linux.debian.maint.python:7551 |
Show key headers only | View raw
On 8 October 2015 at 11:47, Ben Finney <ben+debian@benfinney.id.au> wrote: > Brian May <brian@microcomaustralia.com.au> writes: > >> I see that there is a python3-unittest2 package - should I be using that >> one or the unittest built in Python 3.5? > > 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. A true statement would be 'if your codebase will only ever run on the latest release of Python then unittest2 offers no value' for it. -Rob -- Robert Collins <rbtcollins@hp.com> Distinguished Technologist HP Converged Cloud
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar
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