[Python-Dev] test_copy_reg failing in 2.3 CVS

Tim Peters tim@zope.com
Fri, 27 Jun 2003 11:39:19 -0400


Here on Win2K:

C:\Code\python\PCbuild>python ../lib/test/test_copy_reg.py
test_bool (__main__.CopyRegTestCase) ... ok
test_class (__main__.CopyRegTestCase) ... ok
test_extension_registry (__main__.CopyRegTestCase) ... ok
test_noncallable_constructor (__main__.CopyRegTestCase) ... FAIL
test_noncallable_reduce (__main__.CopyRegTestCase) ... ok

======================================================================
FAIL: test_noncallable_constructor (__main__.CopyRegTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../lib/test/test_copy_reg.py", line 23, in
test_noncallable_constructor
    type(1), int, "not a callable")
  File "C:\Code\python\lib\unittest.py", line 285, in failUnlessRaises
    raise self.failureException, excName
AssertionError: TypeError

----------------------------------------------------------------------
Ran 5 tests in 0.081s

FAILED (failures=1)
Traceback (most recent call last):
  File "../lib/test/test_copy_reg.py", line 92, in ?
    test_main()
  File "../lib/test/test_copy_reg.py", line 88, in test_main
    test_support.run_unittest(CopyRegTestCase)
  File "C:\Code\python\lib\test\test_support.py", line 259, in run_unittest
    run_suite(suite, testclass)
  File "C:\Code\python\lib\test\test_support.py", line 247, in run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "../lib/test/test_copy_reg.py", line 23, in
test_noncallable_constructor
    type(1), int, "not a callable")
  File "C:\Code\python\lib\unittest.py", line 285, in failUnlessRaises
    raise self.failureException, excName
AssertionError: TypeError


C:\Code\python\PCbuild>