Repo Added
|
Files
871
|
Badge
README BADGES
|
github
Add missing stacklevel to deprecation warning for 3.9 (#14651) 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)
83057 of 94392 relevant lines covered (87.99%)
517152.3 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|