~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test__rio.py

  • Committer: Jelmer Vernooij
  • Date: 2016-04-03 16:32:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6617.
  • Revision ID: jelmer@jelmer.uk-20160403163231-h72bo0uyek2gikw0
Don't put French text in doc/en/user-reference when LANGUAGE=fr_CH.UTF_8.

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)