[issue18465] There are unused variables and unused import in Lib/test/test_minidom.py
Vajrasky Kok
report at bugs.python.org
Mon Jul 15 18:00:18 CEST 2013
New submission from Vajrasky Kok:
The unit test file imports verbose from test.support, but it never used it.
The child2 variable inside testRemoveAttributeNode is not used.
The doc variable inside testHasChildNodes is not used.
Attached the menial fix for this unit test.
----------
components: Tests
files: fix_for_unused_variables_and_unused_import_in_test_minidom.txt
messages: 193113
nosy: vajrasky
priority: normal
severity: normal
status: open
title: There are unused variables and unused import in Lib/test/test_minidom.py
versions: Python 3.4
Added file: http://bugs.python.org/file30929/fix_for_unused_variables_and_unused_import_in_test_minidom.txt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18465>
_______________________________________
More information about the Python-bugs-list
mailing list