def test_Predictions_format_validate_negative(self):
     filepath = self.get_data_path('coordinates.tsv')
     format = PredictionsFormat(filepath, mode='r')
     with self.assertRaisesRegex(ValidationError, 'PredictionsFormat'):
         format.validate()
 def test_Predictions_format_validate_positive_nonnumeric_predictions(self):
     filepath = self.get_data_path('categorical_predictions.tsv')
     format = PredictionsFormat(filepath, mode='r')
     format.validate(level='min')
     format.validate()