~xdeb-team/xdeb/trunk

« back to all changes in this revision

Viewing changes to tests/test_pychecker.py

  • Committer: Loïc Minier
  • Date: 2012-06-14 13:10:50 UTC
  • Revision ID: loic.minier@linaro.org-20120614131050-t1t9e3gb1qjdjzg5
Python 3 fixes for new tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
            stdout=subprocess.PIPE,
27
27
            stderr=subprocess.PIPE)
28
28
        (stdout, stderr) = proc.communicate()
29
 
        self.assertEquals('', stdout)
30
 
        self.assertEquals('', stderr)
 
29
        self.assertEqual(b'', stdout)
 
30
        self.assertEqual(b'', stderr)
31
31
 
32
32
    def test_pychecker_no_missing(self):
33
33
        all_files = glob.glob('*.py') + glob.glob('tests/*.py')
34
 
        self.assertEquals(sorted(all_files), sorted(self.order))
 
34
        self.assertEqual(sorted(all_files), sorted(self.order))