[Zope-tests] FAILED (failures=2) : Zope-2_7-branch Python-2.4 : Linux

Zope Unit Tests zope-tests at epy.co.at
Sat Jan 8 00:03:58 EST 2005


Zope Unit Tests : FAILED (failures=2)
Zope-2_7-branch Python-2.4 : Linux

Running /usr/local/python2.4/bin/python test.py
/usr/local/python2.4/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Script (Python):filepath:1: DeprecationWarning: integer argument expected, got float
======================================================================
FAIL: testAttributeAssignment (Products.PythonScripts.tests.testPythonScript.TestPythonScriptErrors)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/autotest/temp/python24-zope27/lib/python/Products/PythonScripts/tests/testPythonScript.py", line 221, in testAttributeAssignment
    self.assertRaises(TypeError, f)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 325, in failUnlessRaises
    raise self.failureException, "%s not raised" % excName
AssertionError: TypeError not raised

======================================================================
FAIL: test__name__ (Products.PythonScripts.tests.testPythonScript.TestPythonScriptGlobals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/autotest/temp/python24-zope27/lib/python/Products/PythonScripts/tests/testPythonScript.py", line 240, in test__name__
    self.assertEqual(f(), ('?.foo', "'string'"))
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 332, in failUnlessEqual
    raise self.failureException, \
AssertionError: ("'foo'>", "'string'") != ('?.foo', "'string'")

----------------------------------------------------------------------
Ran 2368 tests in 307.735s

FAILED (failures=2)


More information about the Zope-tests mailing list