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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Tests for _chk_map_*."""
18
18
 
19
 
from breezy import (
 
19
from .. import (
20
20
    chk_map,
21
21
    tests,
22
22
    )
23
 
from breezy.static_tuple import StaticTuple
 
23
from ..static_tuple import StaticTuple
24
24
stuple = StaticTuple
25
25
 
26
26
 
62
62
        for char_in in range(256):
63
63
            search_key = self.module._search_key_255(stuple(chr(char_in),))
64
64
            chars_used.update(search_key)
65
 
        all_chars = set([chr(x) for x in range(256)])
 
65
        all_chars = {chr(x) for x in range(256)}
66
66
        unused_chars = all_chars.symmetric_difference(chars_used)
67
67
        self.assertEqual(set('\n'), unused_chars)
68
68