()
| 410 | |
| 411 | |
| 412 | def test_str_escape_error(): |
| 413 | msg = "`escape` only permitted in {'html', 'latex', 'latex-math'}, got " |
| 414 | with pytest.raises(ValueError, match=msg): |
| 415 | _str_escape("text", "bad_escape") |
| 416 | |
| 417 | with pytest.raises(ValueError, match=msg): |
| 418 | _str_escape("text", []) |
| 419 | |
| 420 | _str_escape(2.00, "bad_escape") # OK since dtype is float |
| 421 | |
| 422 | |
| 423 | def test_long_int_formatting(): |
nothing calls this directly
no test coverage detected