Hi Folks,
When I run:
print "%0.2f" % ((16160698368/1024/1024/1024),)
I get 15.00
I should be getting 15.05. Can anyone tell me why I'm not?
Thanks, Tom
--
http://mail.python.org/mailman/listinfo/python-list
Great, works a treat. Thanks
-Original Message-
From: Jim Sizelove [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamically passing variables to unittest
Tom Haddon wrote:
> Hi Peter,
>
> Yeah, you're r
: Peter Hansen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 15, 2004 7:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamically passing variables to unittest
Tom Haddon wrote:
> So, my question is, how do I dynamically
> pass the variables from a list, for example to the unittest modul
Hi Folks,
Newbie question here. I'm trying to set up some unit testing for a database
abstraction class, and the first thing I want to test is the connection
parameters. So, my question is, how do I dynamically pass the variables from a
list, for example to the unittest module so I can maintain