[PEAK] failing tests

darryl developer at csrules.dyndns.org
Tue Feb 10 22:09:36 EST 2004


Phillip J. Eby wrote:

> At 05:54 PM 2/10/04 -0800, darryl wrote:
>
>> hey,
>>
>> got 3 test failures from cvs up 5 seconds ago. Do you want the 
>> tracebacks?
>
>
> Yes please.  I get no failures here on my machine, but I think I have 
> a 1.0.x version of Twisted.
>
> What platform are you on, btw?  I'm testing on Windows 98, Python 2.2.2.
>

Gentoo
twisted  1.1.0
python 2.3.3


======================================================================
FAIL: testAnySuspend (peak.events.tests.test_twisted.TwistedTasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/lib/python2.3/site-packages/peak/events/tests/test_events.py", 
line 420, in testAnySuspend
    v3.set(i); self.tick();
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
404, in set
    self._fire(value)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
280, in _fire
    callbacks.pop(0)(self,event)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
200, in onceOnly
    return func(self, (source,event))
  File "/usr/lib/python2.3/site-packages/peak/events/event_threads.py", 
line 529, in step
    self.scheduler.now()
  File 
"/usr/lib/python2.3/site-packages/peak/events/twisted_support.py", line 
140, in _callAt
    self.reactor.callLater(when-self.now(), what, self, when)
  File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 
365, in callLater
    assert seconds >= 0, "%s is not greater than or equal to 0 seconds" 
% (seconds,)
AssertionError: -0.00165295600891 is not greater than or equal to 0 seconds

======================================================================
FAIL: testSemaphores (peak.events.tests.test_twisted.TwistedTasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/lib/python2.3/site-packages/peak/events/tests/test_events.py", 
line 485, in testSemaphores
    sem2.put(); self.tick()
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
805, in put
    self.set(self()+1)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
531, in set
    self.value.set(value,force)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
404, in set
    self._fire(value)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
280, in _fire
    callbacks.pop(0)(self,event)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
107, in cb
    return f(cbr(),src,evt)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
518, in _set
    self._fire(evt)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
275, in _fire
    if callbacks.pop(0)(self,event):
  File "/usr/lib/python2.3/site-packages/peak/events/event_threads.py", 
line 529, in step
    self.scheduler.now()
  File 
"/usr/lib/python2.3/site-packages/peak/events/twisted_support.py", line 
140, in _callAt
    self.reactor.callLater(when-self.now(), what, self, when)
  File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 
365, in callLater
    assert seconds >= 0, "%s is not greater than or equal to 0 seconds" 
% (seconds,)
AssertionError: -3.38554382324e-05 is not greater than or equal to 0 seconds

======================================================================
FAIL: testSimple (peak.events.tests.test_twisted.TwistedTasksTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/usr/lib/python2.3/site-packages/peak/events/tests/test_events.py", 
line 398, in testSimple
    v.set(i); self.tick()
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
404, in set
    self._fire(value)
  File "/usr/lib/python2.3/site-packages/peak/events/sources.py", line 
280, in _fire
    callbacks.pop(0)(self,event)
  File "/usr/lib/python2.3/site-packages/peak/events/event_threads.py", 
line 529, in step
    self.scheduler.now()
  File 
"/usr/lib/python2.3/site-packages/peak/events/twisted_support.py", line 
140, in _callAt
    self.reactor.callLater(when-self.now(), what, self, when)
  File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line 
365, in callLater
    assert seconds >= 0, "%s is not greater than or equal to 0 seconds" 
% (seconds,)
AssertionError: -3.69548797607e-05 is not greater than or equal to 0 seconds

----------------------------------------------------------------------
Ran 628 tests in 13.612s

-- 
http://randomthoughts.vandorp.ca/syncato/WK/blog




More information about the PEAK mailing list