~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

(vila) Make all transport put_bytes() raises TypeError when given unicode
 strings rather than bytes (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
734
734
            lambda: 'aproperhostname')
735
735
        # This is off by default at present; see the discussion in the bug.
736
736
        # If you change the default, don't forget to update the docs.
737
 
        config.GlobalConfig().set_user_option('locks.steal_dead', True)
 
737
        config.GlobalStack().set('locks.steal_dead', True)
738
738
        # Create a lock pretending to come from a different nonexistent
739
739
        # process on the same machine.
740
740
        l1 = LockDir(self.get_transport(), 'a',