Did I find the right examples for you? yes no

All Samples(28)  |  Call(28)  |  Derive(0)  |  Import(0)

src/n/u/nupic-linux64-HEAD/lib64/python2.6/site-packages/numpy/testing/tests/test_utils.py   nupic-linux64(Download)
    def test_simple_arrays(self):
        x = np.array([1234.22])
        y = np.array([1234.23])
 
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)
    def test_simple_items(self):
        x = 1234.22
        y = 1234.23
 
        self._assert_func(x, y, significant=4)
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/site-packages/numpy/testing/tests/test_utils.py   Spherebot-Host-GUI(Download)
    def test_simple_arrays(self):
        x = np.array([1234.22])
        y = np.array([1234.23])
 
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)
    def test_simple_items(self):
        x = 1234.22
        y = 1234.23
 
        self._assert_func(x, y, significant=4)
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)

src/m/i/MissionPlanner-HEAD/Lib/site-packages/numpy/testing/tests/test_utils.py   MissionPlanner(Download)
    def test_simple_arrays(self):
        x = np.array([1234.22])
        y = np.array([1234.23])
 
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)
    def test_simple_items(self):
        x = 1234.22
        y = 1234.23
 
        self._assert_func(x, y, significant=4)
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)

src/n/u/numpy-1.8.1/numpy/testing/tests/test_utils.py   numpy(Download)
    def test_simple_arrays(self):
        x = np.array([1234.22])
        y = np.array([1234.23])
 
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)
    def test_simple_items(self):
        x = 1234.22
        y = 1234.23
 
        self._assert_func(x, y, significant=4)
        self._assert_func(x, y, significant=5)
        self._assert_func(x, y, significant=6)