Skip to content

Commit

Permalink
Remove the "compress" method: not used (yet), and not tested.
Browse files Browse the repository at this point in the history
Hopefully fixes the cov error.
  • Loading branch information
dimaryaz committed Feb 14, 2022
1 parent 82d78b4 commit 3794f69
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions api/python/quilt3/formats.py
Original file line number Diff line number Diff line change
Expand Up @@ -1060,11 +1060,6 @@ class BaseCompressionHandler(ABC):
name = None
handled_extensions = ()

@abstractmethod
def compress(self, data):
"Compress the given bytes object"
pass

@abstractmethod
def decompress(self, data):
"Decompress the given bytes object"
Expand All @@ -1083,9 +1078,6 @@ class GzipCompressionHandler(BaseCompressionHandler):
"""Compression handler for gzip"""
handled_extensions = ['gz', 'gzip']

def compress(self, data):
return gzip.compress(data)

def decompress(self, data):
return gzip.decompress(data)

Expand Down

0 comments on commit 3794f69

Please sign in to comment.