()
| 32 | |
| 33 | |
| 34 | def test_set_charset_deprecated(): |
| 35 | con = mock.Mock(spec=Connection) |
| 36 | with pytest.warns( |
| 37 | DeprecationWarning, |
| 38 | match="'set_charset' is deprecated, use 'set_character_set' instead", |
| 39 | ): |
| 40 | Connection.set_charset(con, "utf8mb4") |
| 41 | con.set_character_set.assert_called_once_with("utf8mb4") |
nothing calls this directly
no test coverage detected
searching dependent graphs…