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

  • Committer: Jelmer Vernooij
  • Date: 2018-11-12 01:41:38 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-20181112014138-3b0zyx91cu3wdq3k
More PEP8 fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
from .. import (
22
22
    osutils,
23
 
    symbol_versioning,
24
23
    tests,
25
24
    win32utils,
26
25
    )
228
227
        lad = win32utils.get_local_appdata_location()
229
228
        env = os.environ.get("LOCALAPPDATA")
230
229
        if env:
231
 
            # XXX - See bug 262874, which asserts the correct encoding is 'mbcs'
 
230
            # XXX - See bug 262874, which asserts the correct encoding is
 
231
            # 'mbcs'
232
232
            encoding = osutils.get_user_encoding()
233
233
            self.assertPathsEqual(lad, env.decode(encoding))
234
234
 
270
270
        # expansions, but it's not really worth the effort here
271
271
        if argv is None:
272
272
            argv = [line]
273
 
        argv = win32utils._command_line_to_argv(line, argv,
274
 
                                                single_quotes_allowed=single_quotes_allowed)
 
273
        argv = win32utils._command_line_to_argv(
 
274
            line, argv, single_quotes_allowed=single_quotes_allowed)
275
275
        self.assertEqual(expected, sorted(argv))
276
276
 
277
277
    def test_glob_paths(self):