Hi!
I use Pydev 1.3.9 and notice issue related to code completion. I give an
example
BaseClass.py:
class BaseClass:
def someMethod(x):
return x+x
DerivedClass.py:
import BaseClass
class DerivedClass(BaseClass.BaseClass):
def newMethod(self):
print self.someMethod(
Ben Finney wrote:
> Vyacheslav Maslov <[EMAIL PROTECTED]> writes:
>
>> I understand your opinion
>
> Hopefully you mean "explanation", not "opinion". I gave what appear to
> me to be facts, not opinion, about the definition of a unit test.
Yes, i
Ben Finney wrote:
> Vyacheslav Maslov <[EMAIL PROTECTED]> writes:
>
>> I have many many many python unit test, which are used for testing
>> some remote web service.
>
> Part of your confusion comes from the fact that "test a remote
> service" isn'
Hi all!
I have many many many python unit test, which are used for testing some
remote web service.
The most important issue here is logging of test execution process and
result. I strongly need following:
1. start/end timestamp for each test case (most important)
2. immediate report about exce
ack' Rintsch
>>
> Purchase more memory. It is REALLY cheap these days.
Not a solution at all. What about if amount of data exceed architecture
memory limits? i.e. 4Gb at 32bit.
Better solution is to use database for data storage/processing
--
Vyacheslav Maslov
--
http://mail.python.org/mailman/listinfo/python-list
Gerardo Herzig wrote:
> Hi all. Im looking for the pyGoogle for making google searchs y a python
> script. The thing is, all im founding is an AJAX api, but the
> application ill use is NOT a web app. So, someone know if there is a
> pure python api that i can download and use?
>
> Thanks!
> Ge
Hi, all!
I need multi threaded version of SimpleXMLRPCServer. Does python library
already have implementation of this one? Or i need to implement multi
threading by myself?
Which way is the simpliest?
--
http://mail.python.org/mailman/listinfo/python-list
'dataPackageID' or the name
> 'LocalId'.
In general dictionary define strong relation between keys and values,
key should have only one associated value, but in your case value can be
a tuple or list.
Anyway, i think that your question contradict to dictionary concept,
because is impossilbe to assign for some key multiple values.
--
Vyacheslav Maslov
--
http://mail.python.org/mailman/listinfo/python-list
uld explicitly pass testMethod name when create object
of test case class:
unittest.TextTestRunner().run(SomeTest("run"))
Why i should do this?
2007/5/7, Gabriel Genellina <[EMAIL PROTECTED]>:
En Sun, 06 May 2007 22:17:44 -0300, Vyacheslav Maslov
<[EMAIL PROTECTED]> escribió:
.
First of all you should create an instance of you Tiger class, you try
to do this by line:
x = Tiger.Tiger
But this is wrong, because you should call constructor and pass all
necessary parameters, in very simple case:
x = Tiger.Tiger() (if there is no constructor parameters)
--
Vya
Guys, thanks a lot for you answers
--
http://mail.python.org/mailman/listinfo/python-list
Hi, all!
i have question related to python's unit testing framework.
Take a look at unittest.TestCase class. The main method which contains all
code related to test case execution have name "run". But in the same time
constructor of unittest.TestCase class have param methodName with default
valu
Hi, all!
I found out different behavior of python interpeter related to tuples and
lists with one item only.
I have simple example
print type(())
it's ok, we have just constructed empty tuple
print type((4))
but when i add exactly one item to my tuple i get atomaric int instead of
tuple!!
13 matches
Mail list logo