@@ -249,7 +249,7 @@ def testConstants(self):
249
249
self .ftest ('e' , math .e , 2.718281828459045235360287 )
250
250
self .assertEqual (math .tau , 2 * math .pi )
251
251
252
- @unittest .skip ('RustPython' )
252
+ @unittest .skip ('TODO: RustPython' )
253
253
def testAcos (self ):
254
254
self .assertRaises (TypeError , math .acos )
255
255
self .ftest ('acos(-1)' , math .acos (- 1 ), math .pi )
@@ -261,7 +261,7 @@ def testAcos(self):
261
261
self .assertRaises (ValueError , math .acos , - 1 - eps )
262
262
self .assertTrue (math .isnan (math .acos (NAN )))
263
263
264
- @unittest .skip ('RustPython' )
264
+ @unittest .skip ('TODO: RustPython' )
265
265
def testAcosh (self ):
266
266
self .assertRaises (TypeError , math .acosh )
267
267
self .ftest ('acosh(1)' , math .acosh (1 ), 0 )
@@ -272,7 +272,7 @@ def testAcosh(self):
272
272
self .assertRaises (ValueError , math .acosh , NINF )
273
273
self .assertTrue (math .isnan (math .acosh (NAN )))
274
274
275
- @unittest .skip ('RustPython' )
275
+ @unittest .skip ('TODO: RustPython' )
276
276
def testAsin (self ):
277
277
self .assertRaises (TypeError , math .asin )
278
278
self .ftest ('asin(-1)' , math .asin (- 1 ), - math .pi / 2 )
@@ -302,7 +302,7 @@ def testAtan(self):
302
302
self .ftest ('atan(-inf)' , math .atan (NINF ), - math .pi / 2 )
303
303
self .assertTrue (math .isnan (math .atan (NAN )))
304
304
305
- @unittest .skip ('RustPython' )
305
+ @unittest .skip ('TODO: RustPython' )
306
306
def testAtanh (self ):
307
307
self .assertRaises (TypeError , math .atan )
308
308
self .ftest ('atanh(0)' , math .atanh (0 ), 0 )
@@ -375,7 +375,7 @@ def testAtan2(self):
375
375
self .assertTrue (math .isnan (math .atan2 (NAN , INF )))
376
376
self .assertTrue (math .isnan (math .atan2 (NAN , NAN )))
377
377
378
- @unittest .skip ('RustPython' )
378
+ @unittest .skip ('TODO: RustPython' )
379
379
def testCeil (self ):
380
380
self .assertRaises (TypeError , math .ceil )
381
381
self .assertEqual (int , type (math .ceil (0.5 )))
@@ -444,7 +444,7 @@ def testCopysign(self):
444
444
# similarly, copysign(2., NAN) could be 2. or -2.
445
445
self .assertEqual (abs (math .copysign (2. , NAN )), 2. )
446
446
447
- @unittest .skip ('RustPython' )
447
+ @unittest .skip ('TODO: RustPython' )
448
448
def testCos (self ):
449
449
self .assertRaises (TypeError , math .cos )
450
450
self .ftest ('cos(-pi/2)' , math .cos (- math .pi / 2 ), 0 , abs_tol = math .ulp (1 ))
@@ -503,7 +503,7 @@ def testFactorial(self):
503
503
self .assertRaises (ValueError , math .factorial , - 1 )
504
504
self .assertRaises (ValueError , math .factorial , - 10 ** 100 )
505
505
506
- @unittest .skip ('RustPython' )
506
+ @unittest .skip ('TODO: RustPython' )
507
507
def testFactorialNonIntegers (self ):
508
508
with self .assertWarns (DeprecationWarning ):
509
509
self .assertEqual (math .factorial (5.0 ), 120 )
@@ -815,7 +815,7 @@ def testHypot(self):
815
815
scale = FLOAT_MIN / 2.0 ** exp
816
816
self .assertEqual (math .hypot (4 * scale , 3 * scale ), 5 * scale )
817
817
818
- @unittest .skip ('RustPython' )
818
+ @unittest .skip ('TODO: RustPython' )
819
819
def testDist (self ):
820
820
from decimal import Decimal as D
821
821
from fractions import Fraction as F
0 commit comments