Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python_magic_test.py: Fix bytes string #344

Closed
wants to merge 3 commits into from
Closed

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 14, 2025

test/python_magic_test.py -- test_all_cases() seems to be a work in progress.
Broken pytests belong in pull requests, not on the master branch!

-    "b\xce\xbb".decode("utf-8"): [
+    b"\xce\xbb".decode("utf-8"): [

-            for file_name, cases in CASES:
+            for file_name, cases in CASES.items():

@ahupp
Copy link
Owner

ahupp commented Feb 19, 2025

Thanks for catching that, I think that was an accidental push. I've done a selective fix for CI as well as the CDLL loading: #346

@ahupp ahupp closed this Feb 19, 2025
@cclauss cclauss deleted the patch-2 branch February 19, 2025 20:25
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.

2 participants