File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,16 @@ def setUpClass(cls):
103
103
# warnings. In that case, the test should catch the warning
104
104
# assertWarns or warnings.catch_warnings.
105
105
warnings .filterwarnings ("error" , module = "qiskit_experiments" )
106
+ # Ideally, changes introducing pending deprecations should include
107
+ # alternative code paths and not need to generate warnings in the
108
+ # tests but until this exception is necessary until the use of the
109
+ # deprecated ScatterTable methods are removed.
110
+ warnings .filterwarnings (
111
+ "default" ,
112
+ module = "qiskit_experiments" ,
113
+ message = ".*Curve data uses dataframe representation.*" ,
114
+ category = PendingDeprecationWarning ,
115
+ )
106
116
107
117
# Some functionality may be deprecated in Qiskit Experiments. If
108
118
# the deprecation warnings aren't filtered, the tests will fail as
You can’t perform that action at this time.
0 commit comments