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


Groups > comp.lang.python > #91333

Re: assertRaises() help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <vincent@vincentdavis.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.073
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'subject:help': 0.07; 'wed,': 0.15; 'running:': 0.16; 'simpson': 0.16; 'wrote:': 0.16; 'first,': 0.20; 'to:name:python-list@python.org': 0.20; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'raise': 0.24; 'message- id:@mail.gmail.com': 0.28; 'received:google.com': 0.34; 'to:addr :python-list': 0.35; 'thanks': 0.36; 'subject:: ': 0.37; 'pm,': 0.39; 'test': 0.39; 'to:addr:python.org': 0.39; 'skip:t 20': 0.40; 'your': 0.60; 'cameron': 0.66; 'hand': 0.82; '4:55': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=vincentdavis.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=sValqGIgogRono58/NWJfo96uTv4rgmuOhpdj64N1pk=; b=TZ14A4ObdTkknucwKOjM3PI07oyx7DZ6tx6O+SpKg8Ir6KsGrPDYmBKhm+Pl6I1mG3 aDzZV9wh3qyaAXizHHiYS4xEE0XLv2ReMHAnFRL7rwjl2jYqw7+iyukn/DTrNQvrRXeA V1t6EqDfqdKmxSU6w+gCx91NbUNG228EkL2W8=
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:from:date :message-id:subject:to:content-type; bh=sValqGIgogRono58/NWJfo96uTv4rgmuOhpdj64N1pk=; b=NLhIs97J9e0SpkL2fAqj8WplEvbOPRONMrOHU6dJ2dXEUZ9ivZkuvgzJPikmb7IVom JoXvUipDKTu4nMiVQyjk8cB+XQltRcmf3d3lSVPtOLj/RRq4OtCcarzNuGyC2d37wvd/ pS/4WFalc9BAX/+lr2dfuunuzPTAntrhVfRl0U01YG+grVvQvSv3WbczQokSz6mI7wK8 GT3QlM1Xe5SGj82dNAQWaFholDAYEP+zd2GEoLXzRSAnFRL/VuIunDfhVRAeGV+x1GO7 0xSkFhq9FfuagHX8e7Csd0+3fV23/IkS7F7GpjHgbP3AMNg8kSaVa/rXEy30ZHoUdnvk nl0w==
X-Gm-Message-State ALoCoQk/80g2aPGfX7WQMuLHIbEr8ECMwsKLCztsQxVrWr/AK4Z6pyoTdJ50J0ZsMU6GvaOXCwGe
X-Received by 10.60.223.193 with SMTP id qw1mr28619508oec.53.1432768436528; Wed, 27 May 2015 16:13:56 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <20150527225554.GA55582@cskk.homeip.net>
References <CALyJZZV9DjUbyYRfGoaWzPG1FVnVx0+AsSOyud_ZOyE914A55Q@mail.gmail.com> <20150527225554.GA55582@cskk.homeip.net>
From Vincent Davis <vincent@vincentdavis.net>
Date Wed, 27 May 2015 17:13:36 -0600
Subject Re: assertRaises() help
To "python-list@python.org" <python-list@python.org>
Content-Type multipart/alternative; boundary=001a11c2b294b47d3c05171865e4
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.107.1432768445.5151.python-list@python.org> (permalink)
Lines 39
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432768445 news.xs4all.nl 2828 [2001:888:2000:d::a6]:36973
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:91333

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, May 27, 2015 at 4:55 PM, Cameron Simpson <cs@zip.com.au> wrote:

> First, test your test by hand running:
>
>  to_datetime('2015-02-29', coerce=False)
>
> _Does_ it raise ValueError?
>

​Well that was not expected.​ Thanks


Vincent Davis

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: assertRaises() help Vincent Davis <vincent@vincentdavis.net> - 2015-05-27 17:13 -0600

csiph-web