module documentation

Undocumented

Function check_reader Undocumented
Function teardown_module Undocumented
Function test_reader Undocumented
Function test_reader_stream_closes_when_deleted Undocumented
Constant ENCODINGS Undocumented
Constant STRINGS Undocumented
def check_reader(unicode_string, encoding): (source)

Undocumented

def teardown_module(module=None): (source)

Undocumented

@pytest.mark.parametrize('string', STRINGS)
def test_reader(string): (source)

Undocumented

def test_reader_stream_closes_when_deleted(): (source)

Undocumented

ENCODINGS: list[str] = (source)

Undocumented

Value
['ascii', 'latin1', 'greek', 'hebrew', 'utf-16', 'utf-8']

Undocumented

Value
['''
    This is a test file.
    It is fairly short.
    ''',
 'This file can be encoded with latin1. ƒ',
 '''    This is a test file.
    Here\'s a blank line:
...