mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-14 18:12:35 +08:00
8 lines
132 B
Python
8 lines
132 B
Python
import pytest
|
|
from MySQLdb import _mysql
|
|
|
|
|
|
def test_result_type():
|
|
with pytest.raises(TypeError):
|
|
_mysql.result(b"xyz")
|