File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -558,8 +558,12 @@ def test_pickle(self):
558
558
self .assertEqual (pickle .loads (pickle .dumps (pj )), pj )
559
559
560
560
@settings (** NO_OLD_SETTINGS )
561
+ @pytest .mark .skipif (
562
+ platform .python_implementation () == "PyPy" ,
563
+ reason = "threading on PyPy breaks coverage" ,
564
+ )
561
565
@given (st .integers (min_value = 1 , max_value = 10 ))
562
- def test_multithreading (self , thread_num ):
566
+ def test_multithreading (self , thread_num ): # pragma: no cover
563
567
# ensure that generator's precomputation table is filled
564
568
generator_112r2 * 2
565
569
@@ -592,10 +596,12 @@ def runner(generator):
592
596
)
593
597
594
598
@pytest .mark .skipif (
595
- platform .system () == "Windows" ,
596
- reason = "there are no signals on Windows" ,
599
+ platform .system () == "Windows"
600
+ or platform .python_implementation () == "PyPy" ,
601
+ reason = "there are no signals on Windows, and threading breaks coverage"
602
+ " on PyPy" ,
597
603
)
598
- def test_multithreading_with_interrupts (self ):
604
+ def test_multithreading_with_interrupts (self ): # pragma: no cover
599
605
thread_num = 10
600
606
# ensure that generator's precomputation table is filled
601
607
generator_112r2 * 2
You can’t perform that action at this time.
0 commit comments