This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: The checkempty_symmetric_difference test is never called
Type: behavior Stage: patch review
Components: Tests Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, stutzbach
Priority: normal Keywords: patch

Created on 2010-05-19 16:54 by stutzbach, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
missing-test.patch stutzbach, 2010-05-19 16:54
Messages (2)
msg106080 - (view) Author: Daniel Stutzbach (stutzbach) (Python committer) Date: 2010-05-19 16:54
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.
msg112270 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-01 06:45
Thanks, fixed in r83386.
History
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 53014
2010-08-01 06:45:02georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg112270

resolution: fixed
2010-05-19 16:54:59stutzbachcreate