message: test: Fix wallet_listdescriptors.py if bdb is not compiled
diff: @@ -30,6 +30,7 @@ class ListDescriptorsTest(BitcoinTestFramework):
  node = self.nodes[0]
  assert_raises_rpc_error(-18, 'No wallet is loaded.', node.listdescriptors)
  + if self.is_bdb_compiled():
  self.log.info('Test that the command is not available for legacy wallets.')
  node.createwallet(wallet_name='w1', descriptors=False)
  assert_raises_rpc_error(-4, 'listdescriptors is not available for non-descriptor wallets', node.listdescriptors)
  