~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_init.py

  • Committer: Alexander Belchenko
  • Date: 2007-03-04 00:25:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2317.
  • Revision ID: bialix@ukr.net-20070304002513-hmkxrjl39aplqr4a
Python 2.5 on Windows XP produce slightly different error message (No such file)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        out, err = self.run_bzr('init', 'subdir2/nothere', retcode=3)
77
77
        self.assertEqual('', out)
78
78
        self.assertContainsRe(err,
79
 
            r'^bzr: ERROR: .*'
80
 
            '\[Errno 2\] No such file or directory')
 
79
            r'^bzr: ERROR: No such file: .*'
 
80
            '\[Err(no|or) 2\]')
81
81
        
82
82
        os.mkdir('subdir2')
83
83
        out, err = self.run_bzr('init', 'subdir2')