[Tutor] unittests, testing a type
Dave Angel
davea at ieee.org
Wed Jul 15 04:36:14 CEST 2009
On Tue, Jul 14, 2009 at 9:59 AM, Todd Matsumoto<tmatsumoto at gmx.net> wrote:
>> The reason why is I'm receiving the Decimal value from another program, if I already know that the value will be a Decimal why test it?
>>
>
>
How are you receiving it? File, pickle, pipe, socket, exit() return
value? When I first read your question, I assumed you meant "from
another module." But if it's another process, then you'd better tell us
how you're actually getting the value. Maybe it's a Decimal because you
just got done converting it to one.
DaveA
More information about the Tutor
mailing list