Sfoglia il codice sorgente

Remove .type check from assertTagNodeEqual()

tags/v0.3
Ben Kurtovic 11 anni fa
parent
commit
c241bff9f5
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      tests/_test_tree_equality.py

+ 0
- 1
tests/_test_tree_equality.py Vedi File

@@ -91,7 +91,6 @@ class TreeEqualityTestCase(TestCase):

def assertTagNodeEqual(self, expected, actual):
"""Assert that two Tag nodes have the same data."""
self.assertEqual(expected.type, actual.type)
self.assertWikicodeEqual(expected.tag, actual.tag)
if expected.contents is not None:
self.assertWikicodeEqual(expected.contents, actual.contents)


Caricamento…
Annulla
Salva