10000 fix: pass byteLength of string when creating Python String by DjDeveloperr · Pull Request #40 · denosaurs/deno_python · GitHub
[go: up one dir, main page]

Skip to content

fix: pass byteLength of string when creating Python String #40

8000
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

Merged
merged 3 commits into from
Jul 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typo
  • Loading branch information
DjDeveloperr authored Jul 20, 2023
commit 44595e628dc09a380be3d0fb6ac98367d1e69d3b
2 changes: 1 addition & 1 deletion test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Deno.test("types", async (t) => {
assertEquals(value.valueOf(), "hello");

const unicode = python.str("'中文'");
assertEquals(unicode.valueof(), "'中文'");
assertEquals(unicode.valueOf(), "'中文'");
});

await t.step("list", () => {
Expand Down
0