[Buildbot-commits] buildbot/buildbot/test test_steps.py, 1.37, 1.38 test_vc.py, 1.72, 1.73 test_web.py, 1.39, 1.40
Brian Warner
warner at users.sourceforge.net
Wed Feb 7 04:25:32 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30421/buildbot/test
Modified Files:
test_steps.py test_vc.py test_web.py
Log Message:
[project @ hush most pyflakes warnings]
Original author: warner at lothar.com
Date: 2007-02-07 04:24:33
Index: test_steps.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_steps.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- test_steps.py 6 Feb 2007 08:23:00 -0000 1.37
+++ test_steps.py 7 Feb 2007 04:25:29 -0000 1.38
@@ -14,7 +14,7 @@
# todo: test batched updates, by invoking remote_update(updates) instead of
# statusUpdate(update). Also involves interrupted builds.
-import os, time
+import os
from twisted.trial import unittest
from twisted.internet import reactor, defer
Index: test_vc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_vc.py,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- test_vc.py 23 Jan 2007 05:49:58 -0000 1.72
+++ test_vc.py 7 Feb 2007 04:25:29 -0000 1.73
@@ -1066,10 +1066,7 @@
if self.httpServer:
d.addCallback(lambda res: self.httpServer.stopListening())
def stopHTTPTimer():
- try:
- from twisted.web import http # Twisted-2.0
- except ImportError:
- from twisted.protocols import http # Twisted-1.3
+ from twisted.web import http
http._logDateTimeStop() # shut down the internal timer. DUMB!
d.addCallback(lambda res: stopHTTPTimer())
d.addCallback(lambda res: self.tearDown2())
Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- test_web.py 11 Dec 2006 08:40:17 -0000 1.39
+++ test_web.py 7 Feb 2007 04:25:29 -0000 1.40
@@ -102,10 +102,7 @@
def stopHTTPLog():
# grr.
- try:
- from twisted.web import http # Twisted-2.0
- except ImportError:
- from twisted.protocols import http # Twisted-1.3
+ from twisted.web import http
http._logDateTimeStop()
class BaseWeb:
More information about the Commits
mailing list