/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/blackbox/test_locale.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
            # C is not necessarily the default locale, so set both LANG and
55
55
            # LC_ALL explicitly because LC_ALL is preferred on (some?) Linux
56
56
            # systems but only LANG is respected on Windows.
57
 
            env_changes={'LANG': 'C', 'LC_ALL': 'C', 'LC_CTYPE':None,
58
 
                         'LANGUAGE':None})
 
57
            env_changes={'LANG': 'C', 'LC_ALL': 'C', 'LC_CTYPE': None,
 
58
                         'LANGUAGE': None})
59
59
        self.assertEqual(b'', err)
60
60
        self.assertEqualDiff(b"""\
61
61
------------------------------------------------------------
70
70
    def test_log_BOGUS(self):
71
71
        out, err = self.run_log_quiet_long(
72
72
            ['tree'],
73
 
            env_changes={'LANG':'BOGUS', 'LC_ALL':None, 'LC_CTYPE':None,
74
 
                         'LANGUAGE':None})
 
73
            env_changes={'LANG': 'BOGUS', 'LC_ALL': None, 'LC_CTYPE': None,
 
74
                         'LANGUAGE': None})
75
75
        self.assertStartsWith(err, b'brz: warning: unsupported locale setting')
76
76
        self.assertEqualDiff(b"""\
77
77
------------------------------------------------------------