File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def test_collect_removes_unreadable_sources_without_runtime_error():
3838def test_collect_keeps_readable_sources (tmp_path ):
3939 """Verify that readable source files are collected normally."""
4040 source_file = tmp_path / "real.py"
41- source_file .write_text ("foobarbaz" )
41+ source_file .write_text (u "foobarbaz" )
4242
4343 handler = SourceCodeHandler (tab_width = 4 , context_line_count = 1 )
4444 report = make_report ([str (source_file )])
@@ -52,7 +52,7 @@ def test_collect_keeps_readable_sources(tmp_path):
5252def test_collect_mixed_readable_and_unreadable (tmp_path ):
5353 """Mix of existing and missing files"""
5454 source_file = tmp_path / "exists.py"
55- source_file .write_text ("foobarbaz" )
55+ source_file .write_text (u "foobarbaz" )
5656
5757 handler = SourceCodeHandler (tab_width = 4 , context_line_count = 3 )
5858 report = make_report (
You can’t perform that action at this time.
0 commit comments