We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed5d30 commit 1741ef1Copy full SHA for 1741ef1
test/base.py
@@ -99,6 +99,10 @@ def setUpClass(cls):
99
super().setUpClass()
100
101
warnings.filterwarnings("error", category=DeprecationWarning)
102
+ # Tests should not generate any warnings unless testing those
103
+ # warnings. In that case, the test should catch the warning
104
+ # assertWarns or warnings.catch_warnings.
105
+ warnings.filterwarnings("error", module="qiskit_experiments")
106
107
# Some functionality may be deprecated in Qiskit Experiments. If
108
# the deprecation warnings aren't filtered, the tests will fail as
0 commit comments