@@ -219,9 +219,9 @@ def test_invalid_photometric_raises(self):
219219
220220 def test_invalid_compression_ratios_raises (self ):
221221 """Test an invalid 'compression_ratios' raises exceptions."""
222- msg = "More than 10 compression layers is not supported"
222+ msg = "More than 100 compression layers is not supported"
223223 with pytest .raises (ValueError , match = msg ):
224- encode_array (np .ones ((1 , 2 ), dtype = "u1" ), compression_ratios = [1 ] * 11 )
224+ encode_array (np .ones ((1 , 2 ), dtype = "u1" ), compression_ratios = [1 ] * 101 )
225225
226226 msg = (
227227 "Error encoding the data: invalid compression ratio, lowest value "
@@ -232,9 +232,9 @@ def test_invalid_compression_ratios_raises(self):
232232
233233 def test_invalid_signal_noise_ratios_raises (self ):
234234 """Test an invalid 'signal_noise_ratios' raises exceptions."""
235- msg = "More than 10 compression layers is not supported"
235+ msg = "More than 100 compression layers is not supported"
236236 with pytest .raises (ValueError , match = msg ):
237- encode_array (np .ones ((1 , 2 ), dtype = "u1" ), signal_noise_ratios = [1 ] * 11 )
237+ encode_array (np .ones ((1 , 2 ), dtype = "u1" ), signal_noise_ratios = [1 ] * 101 )
238238
239239 msg = (
240240 "Error encoding the data: invalid signal-to-noise ratio, lowest "
@@ -802,9 +802,9 @@ def test_compression_snr_raises(self):
802802
803803 def test_invalid_compression_ratios_raises (self ):
804804 """Test an invalid 'compression_ratios' raises exceptions."""
805- msg = "More than 10 compression layers is not supported"
805+ msg = "More than 100 compression layers is not supported"
806806 with pytest .raises (ValueError , match = msg ):
807- encode_buffer (b"\x00 " , 1 , 1 , 1 , 8 , False , compression_ratios = [1 ] * 11 )
807+ encode_buffer (b"\x00 " , 1 , 1 , 1 , 8 , False , compression_ratios = [1 ] * 101 )
808808
809809 msg = (
810810 "Error encoding the data: invalid compression ratio, lowest value "
@@ -815,9 +815,9 @@ def test_invalid_compression_ratios_raises(self):
815815
816816 def test_invalid_signal_noise_ratios_raises (self ):
817817 """Test an invalid 'signal_noise_ratios' raises exceptions."""
818- msg = "More than 10 compression layers is not supported"
818+ msg = "More than 100 compression layers is not supported"
819819 with pytest .raises (ValueError , match = msg ):
820- encode_buffer (b"\x00 " , 1 , 1 , 1 , 8 , False , signal_noise_ratios = [1 ] * 11 )
820+ encode_buffer (b"\x00 " , 1 , 1 , 1 , 8 , False , signal_noise_ratios = [1 ] * 101 )
821821
822822 msg = (
823823 "Error encoding the data: invalid signal-to-noise ratio, lowest "
0 commit comments