Re: [Tutor] Testing a method in a class with nosetests

2013-04-21 Thread eryksun
On Sun, Apr 21, 2013 at 9:33 PM, Steven D'Aprano wrote: > > it's NOT because you failed to post plain text, since you actually did. Actually it's a multipart message with both plain text and HTML, with the digest quoted in each version. It helps that the HTML is using " " and that map directly t

Re: [Tutor] Testing a method in a class with nosetests

2013-04-21 Thread Steven D'Aprano
On 22/04/13 10:49, Alex Baker wrote: Hello, I've been lurking tutor for the last couple months and have quite enjoyed it! Welcome, and congratulations on your first post! Unfortunately I have to start with a complaint :-( but it's NOT because you failed to post plain text, since you actually

Re: [Tutor] Testing a method in a class with nosetests (Alex Baker)

2013-04-21 Thread Alex Baker
u) Python modules in a systematic way. On the other hand, if you're looking for a syllabus of studying languages (plural), consider     1) a dynamic language     2) a compile one     3) an assembler     4) other    (lisp, Forth, ML, Prolog, ...) Each category is enough different that you hav

[Tutor] Testing a method in a class with nosetests

2013-04-21 Thread Alex Baker
Hello, I've been lurking tutor for the last couple months and have quite enjoyed it! I'm having a problem testing a method using nosetests. The assignment (Learn Python the Hard Way) asks that I write tests for a package using assert_equal and assert_raises. I've conquered the assert_equals but