File: test_invalid_value.py

package info (click to toggle)
python-dbfread 2.0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 384 kB
  • sloc: python: 1,146; makefile: 140
file content (7 lines) | stat: -rw-r--r-- 181 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
from .field_parser import InvalidValue

def test_repr():
    assert repr(InvalidValue(b'')) == "InvalidValue(b'')"

def test_type():
    assert isinstance(InvalidValue(b''), bytes)