/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_bedding.py

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import os
21
21
import sys
22
22
 
23
 
from ..sixish import (
24
 
    text_type,
25
 
    )
26
23
from .. import (
27
24
    bedding,
28
25
    osutils,
56
53
        self.assertEqual(bedding.config_dir(), self.brz_home)
57
54
 
58
55
    def test_config_dir_is_unicode(self):
59
 
        self.assertIsInstance(bedding.config_dir(), text_type)
 
56
        self.assertIsInstance(bedding.config_dir(), str)
60
57
 
61
58
    def test_config_path(self):
62
59
        self.assertEqual(bedding.config_path(),
84
81
        self.assertEqual(bedding.config_dir(), self.bzr_home)
85
82
 
86
83
    def test_config_dir_is_unicode(self):
87
 
        self.assertIsInstance(bedding.config_dir(), text_type)
 
84
        self.assertIsInstance(bedding.config_dir(), str)
88
85
 
89
86
    def test_config_path(self):
90
87
        self.assertEqual(bedding.config_path(),