class_docstr: Tests additional methods and attributes
docstr: Test that the number of blocks attribute raises an error when
  n_block_wires is too large.
docstr_tok: ["Test","that","the","number","of","blocks","attribute","raises","an","error","when","n_block_wires","is","too","large","."]
code: def test_get_n_blocks_error(self, wires, n_block_wires):
      """Test that the number of blocks attribute raises an error when
      n_block_wires is too large."""
  
      with pytest.raises(
          ValueError,
          match=f"n_block_wires must be smaller than or equal to the number of wires; "
          f"got n_block_wires = {n_block_wires} and number of wires = {len(wires)}",
      ):
          qml.MPS.get_n_blocks(wires, n_block_wires)
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.templates.tensornetworks.mps import compute_indices_MPS, MPS
label_desc: Use image node_id 3 for calling the TestAttributes obj's underlying member method code with example usage: obj.test_get_n_blocks_error(wires, n_block_wires) without return types