[test] Fix test_compat_etree_Element
authorSergey M․ <dstftw@gmail.com>
Tue, 5 Mar 2019 19:45:33 +0000 (02:45 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 5 Mar 2019 19:46:26 +0000 (02:46 +0700)
test/test_compat.py

index 4822260ac2ec3859b6c1da4fe152f5e0e84f8825..86ff389fdfc560b987c2d82e98629a1aa7344002 100644 (file)
@@ -93,7 +93,7 @@ class TestCompat(unittest.TestCase):
 
     def test_compat_etree_Element(self):
         try:
-            compat_etree_Element.text
+            compat_etree_Element.items
         except AttributeError:
             self.fail('compat_etree_Element is not a type')