summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/end_to_end/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index fedfa6a..fd515e2 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -129,7 +129,7 @@ def match(stanza, xpath):
def check_xpath(xpaths, xmpp, after, stanza):
- for xpath in enumerate(xpaths):
+ for xpath in xpaths:
matched = match(stanza, xpath)
if not matched:
raise StanzaError("Received stanza ā€œ%sā€ did not match expected xpath ā€œ%sā€" % (stanza, xpath))