Repo Added
|
Files
871
|
Badge
README BADGES
|
push
github
Add missing stacklevel to deprecation warning for 3.9 (#14651) (#14658) In Qiskit 2.1.0 we deprecated Python 3.9 support since it will not be supported in the 2.3.0 release. However, the warnings.warn call to emit the deprecation warning was missing the stacklevel argument. This means that the default Python warning filters will not display the warning to end users because it's not user code that's triggering the warn() call. This commit fixes this oversight so that Python 3.9 users will see the warning by default. (cherry picked from commit 2b0a6829a) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
80019 of 91291 relevant lines covered (87.65%)
511583.44 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|