Files
mysqlclient/tests/test__mysql.py

8 lines
132 B
Python

import pytest
from MySQLdb import _mysql
def test_result_type():
with pytest.raises(TypeError):
_mysql.result(b"xyz")