10000 gh-61103: Support float and long double complex types in ctypes module by skirpichev · Pull Request #121248 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-61103: Support float and long double complex types in ctypes module #121248

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 7 commits into from
Jul 3, 2024
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
Next Next commit
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
skirpichev and vstinner authored Jul 2, 2024
commit a8f25eaa5116e7c88941582729305ee120df82c6
2 changes: 1 addition & 1 deletion Lib/test/test_ctypes/test_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_complex_round_trip(self):
for z in values:
for t in [ctypes.c_double_complex, ctypes.c_float_complex,
ctypes.c_longdouble_complex]:
with self.subTest(z=z, t=t):
with self.subTest(z=z, type=t):
self.assertComplexesAreIdentical(z, t(z).value)

def test_integers(self):
Expand Down
Loading
0