~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2008-01-29 08:40:53 UTC
  • mto: (3206.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3207.
  • Revision ID: v.ladeuil+lp@free.fr-20080129084053-sunwf549ox6zczqr
Fix two more leaked log files.

* bzrlib/tests/test_http.py:
(TestHttpProxyWhiteBox.tearDown): Call the base class tearDown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1146
1146
            except errors.PathNotChild:
1147
1147
                return path
1148
1148
 
1149
 
        if tree_locked and sys.platform == 'win32':
1150
 
            # We expect this to fail because of locking errors. (A write-locked
1151
 
            # file cannot be read-locked in the same process).
 
1149
        if tree_locked:
 
1150
            # We expect this to fail because of locking errors.
 
1151
            # (A write-locked file cannot be read-locked
 
1152
            # in the different process -- either on win32 or on linux).
1152
1153
            # This should be removed when the locking errors are fixed.
1153
 
            self.run_bzr_error([], 'info ' + command_string)
1154
 
            return
 
1154
            self.expectFailure('OS locks are exclusive '
 
1155
                'for different processes (Bug #174055)',
 
1156
                self.run_bzr_subprocess,
 
1157
                'info ' + command_string)
1155
1158
        out, err = self.run_bzr('info %s' % command_string)
1156
1159
        description = {
1157
1160
            (True, True): 'Lightweight checkout',