Did I find the right examples for you? yes no

# unittest.TestCase._assert_func

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

```    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)
```

```    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)
```

```    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)
```

```    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)
```