(dtype)
| 727 | @pytest.mark.parametrize("dtype", |
| 728 | np.typecodes["AllInteger"] + "efgdFDG" + "?") |
| 729 | def test_nul_character_error(dtype): |
| 730 | # Test that a \0 character is correctly recognized as an error even if |
| 731 | # what comes before is valid (not everything gets parsed internally). |
| 732 | if dtype.lower() == "g": |
| 733 | pytest.xfail("longdouble/clongdouble assignment may misbehave.") |
| 734 | with pytest.raises(ValueError): |
| 735 | np.loadtxt(["1\000"], dtype=dtype, delimiter=",", quotechar='"') |
| 736 | |
| 737 | |
| 738 | @pytest.mark.parametrize("dtype", |
nothing calls this directly
no test coverage detected
searching dependent graphs…