[Python-bugs-list] [Bug #115054] test_minidom has a tab....

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Sep 2000 02:26:17 -0700

Bug #115054, was updated on 2000-Sep-21 23:01
Here is a current snapshot of the bug.

Project: Python
Category: Library
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 1
Summary: test_minidom has a tab....

Details: line 232 in cvs has a tab that results in a exceptions.TabError: inconsistent use of tabs and spaces in indentation.

Line in question is:

# commented out until Fredrick's fix is checked in
def _testElementReprAndStrUnicodeNS():
	 dom.createElementNS( u"http://www.slashdot.org", u"slash:abc" ))


Date: 2000-Sep-22 02:26
By: gvanrossum

The line with the tab does *not* cause a TabError exception! You never tested this, right?! It is inside matching parentheses and thus not subject to the indentation rules.

However since it's clearly a mistake (it's the only tab in the file!) I've checked in a change. Revision 1.7.

For detailed info, follow this link: