(self)
| 205 | self.assertFalse(mx.metal.is_available()) |
| 206 | |
| 207 | def test_tuple_not_equals_array(self): |
| 208 | a = mx.array([1, 2, 3]) |
| 209 | b = (1, 2, 3) |
| 210 | c = (1, 2, 4) |
| 211 | |
| 212 | # mlx array inequality returns true if is compared with any kind of |
| 213 | # object which is not an mlx array |
| 214 | self.assertTrue(a != b) |
| 215 | self.assertTrue(a != c) |
| 216 | |
| 217 | def test_obj_inequality_array(self): |
| 218 | str_ = "hello" |