Skip to content

Non utf8 python file test#230

Merged
seddonym merged 1 commit intomasterfrom
non-utf8-python-file-test
Jun 25, 2025
Merged

Non utf8 python file test#230
seddonym merged 1 commit intomasterfrom
non-utf8-python-file-test

Conversation

@seddonym
Copy link
Collaborator

@seddonym seddonym commented Jun 25, 2025

Adds a regression test for reading the contents of Python files that aren't UTF-8-encoded.

This file was created in the Python repl using:

>>> with open(filename, "w", encoding="shift_jis") as f:
...     f.write("# -*- coding: shift_jis -*-\n\nfrom .imported import π")

@seddonym seddonym force-pushed the non-utf8-python-file-test branch from b658fa2 to 17aef38 Compare June 25, 2025 16:57
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 25, 2025

CodSpeed Instrumentation Performance Report

Merging #230 will not alter performance

Comparing non-utf8-python-file-test (7e4d506) with master (0941b8f)

Summary

✅ 22 untouched benchmarks

@seddonym seddonym marked this pull request as ready for review June 25, 2025 17:04
@seddonym seddonym force-pushed the non-utf8-python-file-test branch from 17aef38 to 7e4d506 Compare June 25, 2025 17:07
@seddonym seddonym force-pushed the non-utf8-python-file-test branch from 7e4d506 to c403271 Compare June 25, 2025 17:10
@seddonym seddonym merged commit a62d0b7 into master Jun 25, 2025
@seddonym seddonym deleted the non-utf8-python-file-test branch June 25, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant