/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 breezy/tests/test_lockdir.py

  • Committer: Jelmer Vernooij
  • Date: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    LockDir,
41
41
    LockHeldInfo,
42
42
    )
 
43
from ..sixish import (
 
44
    text_type,
 
45
    )
43
46
from . import (
44
47
    features,
45
48
    TestCase,
665
668
 
666
669
    def test_unicode(self):
667
670
        info = LockHeldInfo.for_this_process(None)
668
 
        self.assertContainsRe(str(info),
 
671
        self.assertContainsRe(text_type(info),
669
672
                              r'held by .* on .* \(process #\d+\), acquired .* ago')
670
673
 
671
674
    def test_is_locked_by_this_process(self):