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


Groups > comp.lang.python > #91338 > unrolled thread

Re: assertRaises() help

Started byCameron Simpson <cs@zip.com.au>
First post2015-05-28 10:21 +1000
Last post2015-05-28 10:21 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: assertRaises() help Cameron Simpson <cs@zip.com.au> - 2015-05-28 10:21 +1000

#91338 — Re: assertRaises() help

FromCameron Simpson <cs@zip.com.au>
Date2015-05-28 10:21 +1000
SubjectRe: assertRaises() help
Message-ID<mailman.111.1432772475.5151.python-list@python.org>
On 27May2015 17:13, Vincent Davis <vincent@vincentdavis.net> wrote:
>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

See? If you'd just believed your unit test... :-)

Welcome to test driven development!

Cheers,
Cameron Simpson <cs@zip.com.au>

Acceptance Testing: Dropping your mods straight into the production
                    environment to see if the users will accept them.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web