@@ -459,6 +459,7 @@ def test_clear_unconsumed_tail(self):
459
459
ddata += dco .decompress (dco .unconsumed_tail )
460
460
self .assertEqual (dco .unconsumed_tail , b"" )
461
461
462
+ @pytest .mark .xfail (reason = "Flush is not implemented in a compatible way." )
462
463
def test_flushes (self ):
463
464
# Test flush() with the various options, using all the
464
465
# different levels in order to provide more variations.
@@ -551,6 +552,7 @@ def test_dictionary(self):
551
552
dco = isal_zlib .decompressobj ()
552
553
self .assertRaises (isal_zlib .error , dco .decompress , cd )
553
554
555
+ @pytest .mark .xfail (reason = "Flush is not implemented in a compatible way." )
554
556
def test_dictionary_streaming (self ):
555
557
# This simulates the reuse of a compressor object for compressing
556
558
# several separate data streams.
@@ -636,6 +638,7 @@ def test_decompress_raw_with_dictionary(self):
636
638
uncomp = dco .decompress (comp ) + dco .flush ()
637
639
self .assertEqual (zdict , uncomp )
638
640
641
+ @pytest .mark .xfail (reason = "Flush is not implemented in a compatible way." )
639
642
def test_flush_with_freed_input (self ):
640
643
# Issue #16411: decompressor accesses input to last decompress() call
641
644
# in flush(), even if this object has been freed in the meanwhile.
@@ -648,6 +651,7 @@ def test_flush_with_freed_input(self):
648
651
data = isal_zlib .compress (input2 )
649
652
self .assertEqual (dco .flush (), input1 [1 :])
650
653
654
+ @pytest .mark .xfail (reason = "Flush is not implemented in a compatible way." )
651
655
@bigmemtest (size = _4G , memuse = 1 )
652
656
def test_flush_large_length (self , size ):
653
657
# Test flush(length) parameter greater than internal limit UINT_MAX
@@ -657,6 +661,7 @@ def test_flush_large_length(self, size):
657
661
dco .decompress (data , 1 )
658
662
self .assertEqual (dco .flush (size ), input [1 :])
659
663
664
+ @pytest .mark .xfail (reason = "Flush is not implemented in a compatible way." )
660
665
def test_flush_custom_length (self ):
661
666
input = HAMLET_SCENE * 10
662
667
data = isal_zlib .compress (input , 1 )
0 commit comments