Skip to content

Commit b6e0252

Browse files
committed
Fix documentation error
1 parent 3259a2f commit b6e0252

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Example::
108108
self.assertXmlNamespace(root, 'ns', 'uri')
109109

110110
# Check
111-
self.assertXpathsUniqueValue(root, ('./leaf@id', ))
112-
self.assertXpathValues(root, './leaf@active', ('on', 'off'))
111+
self.assertXpathsUniqueValue(root, ('./leaf/@id', ))
112+
self.assertXpathValues(root, './leaf/@active', ('on', 'off'))
113113

114114

115115
Alternativly, one can use the :py:class:`XmlTestMixin` instead of the

0 commit comments

Comments
 (0)