Path: csiph.com!usenet.pasdenom.info!aioe.org!bofh.it!news.nic.it!robomod From: Robert Collins Newsgroups: linux.debian.maint.python Subject: Re: Python < 3.5 tests Date: Thu, 08 Oct 2015 23:50:04 +0200 Message-ID: References: X-Original-To: Brian May X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Oct 8 21:49:49 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.701 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] 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-io0-f181.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; bh=miYYFkFFuKNfyrBar6tIxLUAQPuUF3u95XnAPY7eGac=; b=JPpk0gw4ps4m1wxTm0nRpPNrzLnr+G9nbmPojYkvr8E3SkDlTs7METzYTRBQ9JNB4p 6RHLGSpFPlGCcByWLS28aCuOTdCmcLw1LrYoN8jjeivii1JsXeq9kmcoNA4H8c1dUoV8 dEgx92V69DDHoLTNQJ8ewImn/H+trMx6oncQ9OG2iAuiMkLn/Q5ygPXE1dOv80DwxHGs zd3eyZrcmpcSYLE2bKr5GYCO2qK2tYs/Vs1C+OqB3h9DA5W47lCUugVD5UKyDa5Uh4Cc IAj1atZtjfKlC2KXBBV4OiaeGXF+dZpB31hjgvDSXhfGlxCnrz6g6CqE2RnpVC44hr+l 90cQ== X-Gm-Message-State: ALoCoQlbPbQ8CkZ1RBCGZZmhm4FQflPBgbQ2EVuW2xblQNmhDLJOnoMdHon4lEQhUUuI67hsiNP9 MIME-Version: 1.0 X-Received: by 10.107.17.30 with SMTP id z30mr13111518ioi.97.1444340971998; Thu, 08 Oct 2015 14:49:31 -0700 (PDT) X-Originating-IP: [122.57.98.209] Content-Type: text/plain; charset=UTF-8 X-Mailing-List: archive/latest/12881 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAJ3HoZ3Of7aiQU375e=sB6YxpE9iRwbZETWgPpN_+==DefJtdw@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 X-Original-Date: Fri, 9 Oct 2015 10:49:31 +1300 X-Original-Message-ID: X-Original-References: <20151007211222.GA16055@prune.in.vpac.org> <20151008114344.2592.41864@mitya57.me> Xref: csiph.com linux.debian.maint.python:7570 On 9 October 2015 at 10:40, Brian May wrote: > On Fri, 9 Oct 2015 at 08:16 Robert Collins > 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. Right - and if there are any tests they will need to load that :) The reason it's being discovered is likely due to the pattern bugfix (also in 3.5) - previously discover couldn't handle directories with names tht didn't match the file pattern - and that meant nested test suites didn't load right. -Rob -- Robert Collins Distinguished Technologist HP Converged Cloud