[Neo-report] r2174 vincent - /trunk/neo/tests/functional/__init__.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 17 17:57:55 CEST 2010
Author: vincent
Date: Thu Jun 17 17:57:54 2010
New Revision: 2174
Log:
Move threading import to top level.
Modified:
trunk/neo/tests/functional/__init__.py
Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Thu Jun 17 17:57:54 2010
@@ -25,6 +25,7 @@ import MySQLdb
import unittest
import tempfile
import traceback
+import threading
from neo.neoctl.neoctl import NeoCTL, NotReadyException
from neo.protocol import ClusterStates, NodeTypes, CellStates
@@ -526,7 +527,6 @@ class NEOFunctionalTest(unittest.TestCas
return temp_dir
def runWithTimeout(self, method, timeout):
- import threading
thread = threading.Thread(None, method)
thread.setDaemon(True)
thread.start()
More information about the Neo-report
mailing list