Dulwich.io dulwich / d546184
Fix python 3 compatibility, PEP8 issue. Jelmer Vernooń≥ 2 months ago
2 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6161
6262
6363 class GetLineEndingAutocrlfFilters(TestCase):
64
6465 def test_get_checkin_filter_autocrlf_default(self):
6566 checkin_filter = get_checkin_filter_autocrlf(b"false")
6667
344344 b'refs/some/ref/sub', b'42d06bd4b77fed026b154d16493e5deab78f02ec')
345345
346346 def test_setitem_packed(self):
347 with open(os.path.join(self._refs.path, 'packed-refs'), 'w') as f:
347 with open(os.path.join(self._refs.path, b'packed-refs'), 'w') as f:
348348 f.write('# pack-refs with: peeled fully-peeled sorted \n')
349349 f.write(
350350 '42d06bd4b77fed026b154d16493e5deab78f02ec refs/heads/packed\n')