class_docstr: This class tests the BlackBox classifier.
class_docstr_tok: ["This","class","tests","the","BlackBox","classifier","."]
code: def test_shapes(self):
      classifier = get_classifier_bb()
      predictions = classifier.predict(self.x_test_mnist)
      self.assertEqual(predictions.shape, self.y_test_mnist.shape)
      self.assertEqual(classifier.nb_classes, 10)
      self.assertEqual(predictions.shape, self.y_test_mnist.shape)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import tempfile
  import unittest
  import numpy
  from art.defences.preprocessor import FeatureSqueezing, JpegCompression, SpatialSmoothing
  from tests.utils import TestBase, get_classifier_bb, get_classifier_bb_nn
label_desc: Use image node_id 3 for calling the TestBlackBoxClassifier obj's underlying member method code with example usage: obj.test_shapes() without return types