@@ -54,7 +54,7 @@ def test_rejection_value(val, validator):
5454# Acceptance
5555
5656@pytest .mark .parametrize ("val" , ["legend2" , ["legend" , "legend2" ], ("legend1" , "legend2" )])
57- def test_acceptance (val , validator_aok ):
57+ def test_acceptance_aok (val , validator_aok ):
5858 v = validator_aok .validate_coerce (val )
5959 if isinstance (val , tuple ):
6060 assert val == tuple (v )
@@ -64,7 +64,7 @@ def test_acceptance(val, validator_aok):
6464
6565# Rejection by type
6666@pytest .mark .parametrize ("val" , [23 , [2 , 3 ], {}, set (), np_inf (), np_nan ()])
67- def test_rejection_type (val , validator_aok ):
67+ def test_rejection_type_aok (val , validator_aok ):
6868 with pytest .raises (ValueError ) as validation_failure :
6969 validator_aok .validate_coerce (val )
7070
@@ -83,7 +83,7 @@ def test_rejection_type(val, validator_aok):
8383 ("bogus" , "legend2" )
8484 ],
8585)
86- def test_rejection_value (val , validator_aok ):
86+ def test_rejection_value_aok (val , validator_aok ):
8787 with pytest .raises (ValueError ) as validation_failure :
8888 validator_aok .validate_coerce (val )
8989
0 commit comments