瀏覽代碼

Remove .type check from assertTagNodeEqual()

tags/v0.3
Ben Kurtovic 11 年之前
父節點
當前提交
c241bff9f5
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      tests/_test_tree_equality.py

+ 0
- 1
tests/_test_tree_equality.py 查看文件

@@ -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)


Loading…
取消
儲存