@@ -276,6 +276,7 @@ def testAcos(self):
276
276
self .assertRaises (ValueError , math .acos , - 1 - eps )
277
277
self .assertTrue (math .isnan (math .acos (NAN )))
278
278
279
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
279
280
def testAcosh (self ):
280
281
self .assertRaises (TypeError , math .acosh )
281
282
self .ftest ('acosh(1)' , math .acosh (1 ), 0 )
@@ -297,6 +298,7 @@ def testAsin(self):
297
298
self .assertRaises (ValueError , math .asin , - 1 - eps )
298
299
self .assertTrue (math .isnan (math .asin (NAN )))
299
300
301
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
300
302
def testAsinh (self ):
301
303
self .assertRaises (TypeError , math .asinh )
302
304
self .ftest ('asinh(0)' , math .asinh (0 ), 0 )
@@ -447,6 +449,7 @@ def testCopysign(self):
447
449
# similarly, copysign(2., NAN) could be 2. or -2.
448
450
self .assertEqual (abs (math .copysign (2. , NAN )), 2. )
449
451
452
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
450
453
def testCos (self ):
451
454
self .assertRaises (TypeError , math .cos )
452
455
self .ftest ('cos(-pi/2)' , math .cos (- math .pi / 2 ), 0 , abs_tol = ulp (1 ))
@@ -461,6 +464,7 @@ def testCos(self):
461
464
self .assertRaises (ValueError , math .cos , NINF )
462
465
self .assertTrue (math .isnan (math .cos (NAN )))
463
466
467
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
464
468
def testCosh (self ):
465
469
self .assertRaises (TypeError , math .cosh )
466
470
self .ftest ('cosh(0)' , math .cosh (0 ), 1 )
@@ -1013,6 +1017,7 @@ def testSin(self):
1013
1017
self .assertRaises (ValueError , math .sin , NINF )
1014
1018
self .assertTrue (math .isnan (math .sin (NAN )))
1015
1019
1020
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
1016
1021
def testSinh (self ):
1017
1022
self .assertRaises (TypeError , math .sinh )
1018
1023
self .ftest ('sinh(0)' , math .sinh (0 ), 0 )
@@ -1032,6 +1037,7 @@ def testSqrt(self):
1032
1037
self .assertRaises (ValueError , math .sqrt , NINF )
1033
1038
self .assertTrue (math .isnan (math .sqrt (NAN )))
1034
1039
1040
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
1035
1041
def testTan (self ):
1036
1042
self .assertRaises (TypeError , math .tan )
1037
1043
self .ftest ('tan(0)' , math .tan (0 ), 0 )
@@ -1045,6 +1051,7 @@ def testTan(self):
1045
1051
self .assertRaises (ValueError , math .tan , NINF )
1046
1052
self .assertTrue (math .isnan (math .tan (NAN )))
1047
1053
1054
+ @unittest .skipIfGraalPython (reason = "not yet supported, causes SEGFAULT" )
1048
1055
def testTanh (self ):
1049
1056
self .assertRaises (TypeError , math .tanh )
1050
1057
self .ftest ('tanh(0)' , math .tanh (0 ), 0 )
0 commit comments