@@ -5073,7 +5073,7 @@ class TestModuleFunctions:
50735073
50745074 def test_kastore_version (self ):
50755075 version = _tskit .get_kastore_version ()
5076- assert version == (2 , 1 , 1 )
5076+ assert version == (2 , 1 , 2 )
50775077
50785078 def test_tskit_version (self ):
50795079 version = _tskit .get_tskit_version ()
@@ -5365,15 +5365,6 @@ def test_cpy_bad_node_bin_map(self):
53655365 with pytest .raises (TypeError , match = "cast array data" ):
53665366 self .pair_coalescence_quantiles (ts , node_bin_map = np .zeros (num_nodes ))
53675367
5368- def test_cpy_bad_quantiles (self ):
5369- ts = self .example_ts ()
5370- quantiles = np .zeros (0 )
5371- with pytest .raises (ValueError , match = "at least one quantile" ):
5372- self .pair_coalescence_quantiles (ts , quantiles = quantiles )
5373- quantiles = np .zeros ((3 , 3 ))
5374- with pytest .raises (ValueError , match = "object too deep" ):
5375- self .pair_coalescence_quantiles (ts , quantiles = quantiles )
5376-
53775368 def test_cpy_bad_inputs (self ):
53785369 ts = self .example_ts ()
53795370 with pytest .raises (TypeError , match = "at most 6 keyword" ):
@@ -5387,6 +5378,15 @@ def test_cpy_bad_inputs(self):
53875378 foo = "bar" ,
53885379 )
53895380
5381+ def test_cpy_bad_quantiles (self ):
5382+ ts = self .example_ts ()
5383+ quantiles = np .zeros (0 )
5384+ with pytest .raises (ValueError , match = "at least one quantile" ):
5385+ self .pair_coalescence_quantiles (ts , quantiles = quantiles )
5386+ quantiles = np .zeros ((3 , 3 ))
5387+ with pytest .raises (ValueError , match = "object too deep" ):
5388+ self .pair_coalescence_quantiles (ts , quantiles = quantiles )
5389+
53905390
53915391class TestPairCoalescenceRatesErrors :
53925392 def example_ts (self , sample_size = 10 ):
0 commit comments