code: def test_exponential_data_sets_correct_censor():
      N = 20000
      censorship = 0.2
      T, C = exponential_survival_data(N, censorship, scale=10)
      assert abs(C.mean() - (1 - censorship)) < 0.02
  
file_path: lifelines/lifelines/tests/test_generate_datasets.py
imports: import os
  import pytest
  import matplotlib.pyplot
  from lifelines import NelsonAalenFitter, KaplanMeierFitter
  from lifelines.generate_datasets import exponential_survival_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_exponential_data_sets_correct_censor() without return types