mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
Merged revisions 78035,78040,78043,78049-78050,78052-78054 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78035 | georg.brandl | 2010-02-06 23:44:17 +0100 (Sa, 06 Feb 2010) | 1 line Fix duplicate import. ........ r78040 | georg.brandl | 2010-02-07 00:08:00 +0100 (So, 07 Feb 2010) | 1 line Fix a few UnboundLocalErrors in test_long. ........ r78043 | georg.brandl | 2010-02-07 00:12:19 +0100 (So, 07 Feb 2010) | 1 line Remove duplicate test method. ........ r78049 | georg.brandl | 2010-02-07 00:33:33 +0100 (So, 07 Feb 2010) | 1 line Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed? ........ r78050 | georg.brandl | 2010-02-07 00:34:10 +0100 (So, 07 Feb 2010) | 1 line Fix more unbound locals in code paths that do not seem to be used. ........ r78052 | georg.brandl | 2010-02-07 00:54:04 +0100 (So, 07 Feb 2010) | 1 line Add missing import when running these tests standalone. ........ r78053 | georg.brandl | 2010-02-07 00:54:43 +0100 (So, 07 Feb 2010) | 1 line Fix some name errors in Mac modules. ........ r78054 | georg.brandl | 2010-02-07 00:58:25 +0100 (So, 07 Feb 2010) | 1 line Add missing import. ........
This commit is contained in:
parent
9d2fde7235
commit
708c487abe
12 changed files with 23 additions and 27 deletions
|
@ -1295,12 +1295,13 @@ class MinidomTest(unittest.TestCase):
|
|||
self.confirm(len(n1.entities) == len(n2.entities)
|
||||
and len(n1.notations) == len(n2.notations))
|
||||
for i in range(len(n1.notations)):
|
||||
# XXX this loop body doesn't seem to be executed?
|
||||
no1 = n1.notations.item(i)
|
||||
no2 = n1.notations.item(i)
|
||||
self.confirm(no1.name == no2.name
|
||||
and no1.publicId == no2.publicId
|
||||
and no1.systemId == no2.systemId)
|
||||
statck.append((no1, no2))
|
||||
stack.append((no1, no2))
|
||||
for i in range(len(n1.entities)):
|
||||
e1 = n1.entities.item(i)
|
||||
e2 = n2.entities.item(i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue