docstr: ...Test that samples generated in parallel are statistically coherent
          
docstr_tok: ["...","Test","that","samples","generated","in","parallel","are","statistically","coherent"]
code: def test_parallel_statistical_significance(self):
      """...Test that samples generated in parallel are statistically coherent"""
      n_task = 10
      for thread_type in self.thread_types:
          samples = self._generate_samples_in_parallel(
              parallelization_type=thread_type, n_task=10
          )
  
          for sample in samples:
              # compute p-value with Kolmogorov–Smirnov test
              p, _ = stats.kstest(sample, "uniform")
              self.assertLess(p, 0.05)
  
          samples.resize((n_task * self.stat_size,))
  
          # compute p-value with Kolmogorov–Smirnov test
          p, _ = stats.kstest(samples, "uniform")
          self.assertLess(p, 0.05)
  
imports: import unittest
  import multiprocessing
  from multiprocessing.pool import Pool
  import itertools
  import numpy
  import threading
  from scipy import stats
  from tick.random import test_uniform, test_gaussian, test_poisson, test_exponential, test_uniform_int, test_discrete, test_uniform_threaded
label_desc: Use image node_id 14 for calling the Test obj's underlying member method code with example usage: obj.test_parallel_statistical_significance() without return types