diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2026-01-15 20:47:38 +0100 |
|---|---|---|
| committer | Alessandro Gatti <a.gatti@frob.it> | 2026-01-15 21:10:30 +0100 |
| commit | b14d129a163d980ab4ae3e3e509bcf6b1232b663 (patch) | |
| tree | bd6f4547ba68c0ca194e68f0bb319f5843dd14e7 /tests/import/import_pkg8.py | |
| parent | eae83df201f8bbf4c97a8bd05ee7e930ad5d2233 (diff) | |
tests/float/complex1.py: Fix CPython 3.14 deprecation.HEADorigin/masterorigin/HEADmaster
This commit fixes a test exercising complex numbers creation, working
around a deprecation introduced in CPython 3.14.
Creating complex numbers using a complex number as the real part in the
constructor is deprecated in CPython 3.14, but that construction method
is still supported by MicroPython and covered by tests. To work around
this, the specific constructor is extracted into its own test, providing
an expected output file recorded using CPython 3.11.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tests/import/import_pkg8.py')
0 files changed, 0 insertions, 0 deletions
