/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_features.py

  • Committer: Patch Queue Manager
  • Date: 2016-04-21 04:39:02 UTC
  • mfrom: (6613.2.1 fix-gpl)
  • Revision ID: pqm@pqm.ubuntu.com-20160421043902-skyc5cmuqnh1b9la
(richard-wilbur) Update COPYING.txt from the original
 http://www.gnu.org/licenses/gpl-2.0.txt (Only differences were in
 whitespace.) Thanks to Petr Stodulka for pointing out the discrepancy.
 (Richard Wilbur)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005-2011 Canonical Ltd
 
1
# Copyright (C) 2011, 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
101
101
            caller = sys._getframe(stacklevel)
102
102
            reported_file = caller.f_globals['__file__']
103
103
            reported_lineno = caller.f_lineno
104
 
            self.assertEquals(__file__, reported_file)
 
104
            self.assertEqual(__file__, reported_file)
105
105
            # The call we're tracking occurred the line after we grabbed the
106
106
            # lineno.
107
 
            self.assertEquals(self.lineno + 1, reported_lineno)
 
107
            self.assertEqual(self.lineno + 1, reported_lineno)
108
108
        self.overrideAttr(symbol_versioning, 'warn', test_caller)
109
109
        # Grab the current lineno
110
110
        self.lineno = sys._getframe().f_lineno