Ignore:
Timestamp:
Oct 3, 2016, 8:49:10 AM (6 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
rebase_source:
a651e00ec42e4970683d971de34fb89406b9ff66
Message:

imported patch py3-xmppim.patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/test/test_xmppim.py

    r179 r203  
    66"""
    77
     8from __future__ import division, absolute_import
     9
    810from twisted.internet import defer
    911from twisted.trial import unittest
     12from twisted.python.compat import unicode
    1013from twisted.words.protocols.jabber import error
    1114from twisted.words.protocols.jabber.jid import JID
     
    897900        element = request.toElement()
    898901        children = element.elements()
    899         child = children.next()
     902        child = next(children)
    900903        self.assertEqual(NS_ROSTER, child.uri)
    901904        self.assertEqual('query', child.name)
     
    910913        element = request.toElement()
    911914        children = element.query.elements()
    912         child = children.next()
     915        child = next(children)
    913916        self.assertEqual(NS_ROSTER, child.uri)
    914917        self.assertEqual('item', child.name)
Note: See TracChangeset for help on using the changeset viewer.