mirror of
https://github.com/PyMySQL/mysqlclient.git
synced 2025-08-14 18:12:35 +08:00
Add test for PyMySQL/mysqlclient-python#137
This commit is contained in:
7
tests/test__mysql.py
Normal file
7
tests/test__mysql.py
Normal file
@ -0,0 +1,7 @@
|
||||
import pytest
|
||||
import _mysql
|
||||
|
||||
|
||||
def test_result_type():
|
||||
with pytest.raises(TypeError):
|
||||
_mysql.result(b"xyz")
|
Reference in New Issue
Block a user