File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,21 @@ def setUpClass(cls):
6464 @unpack
6565 def test_circuit_on_fake_backend_v2 (self , backend , optimization_level ):
6666 if not optionals .HAS_AER and backend .num_qubits > 20 :
67+ self .skipTest (f"Unable to run fake_backend { backend .backend_name } without qiskit-aer" )
68+ if backend .name in {
69+ "fake_almaden" ,
70+ "fake_burlington" ,
71+ "fake_cambridge" ,
72+ "fake_essex" ,
73+ "fake_johannesburg" ,
74+ "fake_london" ,
75+ "fake_poughkeepsie" ,
76+ "fake_rochester" ,
77+ "fake_singapore" ,
78+ }:
6779 self .skipTest (
68- "Unable to run fake_backend {} without qiskit-aer" .format (backend .backend_name )
80+ f"Unable to run fake_backend { backend .backend_name } since its configuration does "
81+ "not have a 'supported_instructions' attribute."
6982 )
7083 backend .set_options (seed_simulator = 42 )
7184 pm = generate_preset_pass_manager (backend = backend , optimization_level = optimization_level )
You can’t perform that action at this time.
0 commit comments