Browse Source

Remove .type check from assertTagNodeEqual()

tags/v0.3
Ben Kurtovic 11 years ago
parent
commit
c241bff9f5
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      tests/_test_tree_equality.py

+ 0
- 1
tests/_test_tree_equality.py View File

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


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


Loading…
Cancel
Save