code: def test_q_statistic_zeros(example_diversity_ones_zeros):
      y, y_pred_ones, y_pred_zeros = example_diversity_ones_zeros
      Q = Q_statistic(y, y_pred_zeros, y_pred_zeros)
      assert Q == 1.0
  
imports: import sys
  import numpy
  import pytest
  from deslib.util.diversity import _process_predictions, double_fault, Q_statistic, ratio_errors, agreement_measure, disagreement_measure, correlation_coefficient
label_desc: Use image node_id 15 for calling a global function with example usage: test_q_statistic_zeros(example_diversity_ones_zeros) without return types