2
0
Эх сурвалжийг харах

Merge pull request #5042 from elho/drop-pointless-asserts

drop pointless asserts covered by other stricter asserts already
TW 5 жил өмнө
parent
commit
8577eea03b

+ 0 - 3
src/borg/testsuite/archiver.py

@@ -2095,12 +2095,10 @@ class ArchiverTestCase(ArchiverTestCaseBase):
 
     def test_compression_none_compressible(self):
         size, csize = self._get_sizes('none', compressible=True)
-        assert csize >= size
         assert csize == size + 3
 
     def test_compression_none_uncompressible(self):
         size, csize = self._get_sizes('none', compressible=False)
-        assert csize >= size
         assert csize == size + 3
 
     def test_compression_zlib_compressible(self):
@@ -2119,7 +2117,6 @@ class ArchiverTestCase(ArchiverTestCaseBase):
 
     def test_compression_auto_uncompressible(self):
         size, csize = self._get_sizes('auto,zlib', compressible=False)
-        assert csize >= size
         assert csize == size + 3  # same as compression 'none'
 
     def test_compression_lz4_compressible(self):