class_docstr: Base class for `quadratic_assignment` tests.
class_docstr_tok: ["Base","class","for","`","quadratic_assignment","`","tests","."]
code: def setup_method(self):
      np.random.seed(0)
  
imports: import pytest
  import numpy
  from scipy.optimize import quadratic_assignment, OptimizeWarning
  from scipy.optimize._qap import _calc_score
  from numpy.testing import assert_equal, assert_, assert_warns
label_desc: Use image node_id 1 for calling the QAPCommonTests obj's underlying member method code with example usage: obj.setup_method() without return types