/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

Update to skip on win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    config,
27
27
    errors,
28
28
    osutils,
 
29
    tests,
29
30
    )
30
31
from bzrlib.errors import (
31
32
        LockBreakMismatch,
604
605
        ld1.unlock()
605
606
 
606
607
    def test_lock_permission(self):
 
608
        if not osutils.supports_posix_readonly():
 
609
            raise tests.TestSkipped('Cannot induce a permission failure')
607
610
        ld1 = self.get_lock()
608
611
        lock_path = ld1.transport.local_abspath('test_lock')
609
612
        os.mkdir(lock_path)