Dulwich.io dulwich / 03b55c9
Skip remaining python3 tests for swift contrib module. Jelmer Vernooń≥ 3 years ago
3 changed file(s) with 6 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
33
44 * Fix regression removing untouched refs when pushing over SSH.
55 (Jelmer Vernooij #441)
6
7 * Skip Python3 tests for SWIFT contrib module, as it has not yet
8 been ported.
69
710 0.14.0 2016-07-03
811
529529 if self.base_offset + end > self.pack_length:
530530 data = self.buff[self.offset:]
531531 self.offset = end
532 return b"".join(data)
532 return data
533533 if end > len(self.buff):
534534 # Need to read more from swift
535535 self._read(more=True)
536536 return self.read(length)
537537 data = self.buff[self.offset:end]
538538 self.offset = end
539 return b"".join(data)
539 return data
540540
541541 def seek(self, offset):
542542 """Seek to a specified offset
583583 def get_object_at(self, offset):
584584 if offset in self._offset_cache:
585585 return self._offset_cache[offset]
586 assert isinstance(offset, long) or isinstance(offset, int),\
587 'offset was %r' % offset
588586 assert offset >= self._header_size
589587 pack_reader = SwiftPackReader(self.scon, self._filename,
590588 self.pack_length)
427427
428428
429429 @skipIf(missing_libs, skipmsg)
430 @skipIfPY3
430431 class TestPackInfoLoadDump(TestCase):
431432 def setUp(self):
432433 conf = swift.load_conf(file=StringIO(config_file %