class_docstr: Test inputs and pre-processing.
class_docstr_tok: ["Test","inputs","and","pre-processing","."]
docstr: Test that TwoLocalSwapNetwork throws correct warnings
docstr_tok: ["Test","that","TwoLocalSwapNetwork","throws","correct","warnings"]
code: def test_ccl2_warnings(self):
      """Test that TwoLocalSwapNetwork throws correct warnings"""
      with pytest.warns(
          UserWarning,
          match="Weights are being provided without acquaintances",
      ):
          qml.templates.TwoLocalSwapNetwork(
              wires=range(4),
              acquaintances=None,
              weights=np.array([1]),
              fermionic=True,
              shif=False,
          )
  
imports: import pytest
  from pennylane import numpy
  import pennylane
label_desc: Use image node_id 2 for calling the TestInputs obj's underlying member method code with example usage: obj.test_ccl2_warnings() without return types