class_docstr: Test def has_cyclic(x, axis=-1, cyclic=360, precision=1e-4):
  - variations of x with and without axis keyword
  - different unit of x - cyclic keyword
  - detection of cyclic points - precision keyword
docstr: Test lon is not cyclic, clon is cyclic, with axis keyword
docstr_tok: ["Test","lon","is","not","cyclic",",","clon","is","cyclic",",","with","axis","keyword"]
code: def test_data_axis(self, lon, clon, axis):
      """Test lon is not cyclic, clon is cyclic, with axis keyword"""
      assert not has_cyclic(lon, axis=axis)
      assert has_cyclic(clon, axis=axis)
  
imports: import numpy
  import numpy.ma
  from numpy.testing import assert_array_equal
  import pytest
  from cartopy.util import add_cyclic, add_cyclic_point, has_cyclic
label_desc: Use image node_id 2 for calling the TestHasCyclic obj's underlying member method code with example usage: obj.test_data_axis(lon, clon, axis) without return types