File: test__mysql.py

package info (click to toggle)
python-mysqldb 1.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 512 kB
  • sloc: python: 3,295; ansic: 2,467; makefile: 6
file content (7 lines) | stat: -rw-r--r-- 132 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
import pytest
from MySQLdb import _mysql


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