[New-bugs-announce] [issue8768] The checkempty_symmetric_difference test is never called

Daniel Stutzbach report at bugs.python.org
Wed May 19 18:55:00 CEST 2010


New submission from Daniel Stutzbach <daniel at stutzbachenterprises.com>:

In test_set.py (and test_sets.py in 2.x), there's a method named "checkempty_symmetric_difference".  It should be named "test_checkempty_symmetric_difference" so that it will actually be called as a test.  It's not referenced anywhere else.

The test verifies the XOR identity: some_set == some_set ^ empty_set.

Patch against trunk attached.

----------
components: Tests
files: missing-test.patch
keywords: patch
messages: 106080
nosy: stutzbach
priority: normal
severity: normal
stage: patch review
status: open
title: The checkempty_symmetric_difference test is never called
type: behavior
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17405/missing-test.patch

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


More information about the New-bugs-announce mailing list