Commit a0ed4650 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Event if defined, ZODB's __version__ might not tell the truth.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2327 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 200bac42
...@@ -194,10 +194,6 @@ class NeoTestRunner(unittest.TestResult): ...@@ -194,10 +194,6 @@ class NeoTestRunner(unittest.TestResult):
def _buildSystemInfo(self): def _buildSystemInfo(self):
import platform import platform
import datetime import datetime
try:
from ZODB import __version__ as zodb_version
except ImportError:
zodb_version = 'unknown'
success = self.testsRun - len(self.errors) - len(self.failures) success = self.testsRun - len(self.errors) - len(self.failures)
s = """ s = """
Date : %s Date : %s
...@@ -205,7 +201,6 @@ class NeoTestRunner(unittest.TestResult): ...@@ -205,7 +201,6 @@ class NeoTestRunner(unittest.TestResult):
Machine : %s Machine : %s
System : %s (%s) System : %s (%s)
Python : %s Python : %s
ZODB : %s
Directory : %s Directory : %s
Status : %7.3f%% Status : %7.3f%%
""" % ( """ % (
...@@ -215,7 +210,6 @@ class NeoTestRunner(unittest.TestResult): ...@@ -215,7 +210,6 @@ class NeoTestRunner(unittest.TestResult):
platform.system(), platform.system(),
platform.release(), platform.release(),
platform.python_version(), platform.python_version(),
zodb_version,
self.temp_directory, self.temp_directory,
success * 100.0 / self.testsRun, success * 100.0 / self.testsRun,
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment