~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test__rio.py

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 05:06:57 UTC
  • mfrom: (6603.4.1 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20160421050657-ygnzfybewvudf1j9
(richard-wilbur) Use initial_comment as commit_message for lp_propose.(Shawn
 Wang) (Shawn Wang)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2009, 2010, 2016 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
63
63
 
64
64
    def assertReadStanza(self, result, line_iter):
65
65
        s = self.module._read_stanza_utf8(line_iter)
66
 
        self.assertEquals(result, s)
 
66
        self.assertEqual(result, s)
67
67
        if s is not None:
68
68
            for tag, value in s.iter_pairs():
69
69
                self.assertIsInstance(tag, str)
119
119
 
120
120
    def assertReadStanza(self, result, line_iter):
121
121
        s = self.module._read_stanza_unicode(line_iter)
122
 
        self.assertEquals(result, s)
 
122
        self.assertEqual(result, s)
123
123
        if s is not None:
124
124
            for tag, value in s.iter_pairs():
125
125
                self.assertIsInstance(tag, str)