~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_win32utils.py

  • Committer: Vincent Ladeuil
  • Date: 2016-02-01 16:52:49 UTC
  • mto: (6614.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6615.
  • Revision ID: v.ladeuil+lp@free.fr-20160201165249-pjd165c0e37whpb4
Fix assertNotEquals being deprecated by using assertNotEqual.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007-2011 Canonical Ltd
 
1
# Copyright (C) 2007-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
170
170
            p = get_app_path(a)
171
171
            d, b = os.path.split(p)
172
172
            self.assertEquals('iexplore.exe', b.lower())
173
 
            self.assertNotEquals('', d)
 
173
            self.assertNotEqual('', d)
174
174
 
175
175
    def test_wordpad(self):
176
176
        # typical windows users should have wordpad in the system
181
181
            p = get_app_path(a)
182
182
            d, b = os.path.split(p)
183
183
            self.assertEquals('wordpad.exe', b.lower())
184
 
            self.assertNotEquals('', d)
 
184
            self.assertNotEqual('', d)
185
185
 
186
186
    def test_not_existing(self):
187
187
        p = get_app_path('not-existing')