Tests fix for #685 - ndarray shouldn't go to std::string overload
()
| 419 | |
| 420 | |
| 421 | def test_greedy_string_overload(): |
| 422 | """Tests fix for #685 - ndarray shouldn't go to std::string overload""" |
| 423 | |
| 424 | assert m.issue685("abc") == "string" |
| 425 | assert m.issue685(np.array([97, 98, 99], dtype="b")) == "array" |
| 426 | assert m.issue685(123) == "other" |
| 427 | |
| 428 | |
| 429 | def test_array_unchecked_fixed_dims(msg): |