[issue11761] fragile tests in test_gc

Antoine Pitrou report at bugs.python.org
Mon Apr 4 12:54:09 CEST 2011


New submission from Antoine Pitrou <pitrou at free.fr>:

http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/4329/steps/test/logs/stdio

======================================================================
FAIL: test_collect_generations (test.test_gc.GCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\support.py", line 1142, in wrapper
    return func(*args, **kwargs)
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_gc.py", line 269, in test_collect_generations
    assertEqual(gc.get_count(), (0, 0, 0))
AssertionError: Tuples differ: (3, 0, 0) != (0, 0, 0)

First differing element 0:
3
0

- (3, 0, 0)
+ (0, 0, 0)

======================================================================
FAIL: test_get_count (test.test_gc.GCTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\support.py", line 1142, in wrapper
    return func(*args, **kwargs)
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_gc.py", line 252, in test_get_count
    assertEqual(gc.get_count(), (0, 0, 0))
AssertionError: (4, 0, 0) != (0, 0, 0)

----------------------------------------------------------------------

----------
components: Tests
messages: 132929
nosy: pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: fragile tests in test_gc
type: behavior
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11761>
_______________________________________


More information about the Python-bugs-list mailing list