Commits

Mark Dickinson committed 27c5826 Merge

Merge removal of print statement from default branch.

Comments (0)

Files changed (1)

bigfloat_cython/bigfloat/test/test_mpfr.py

 
         # Invalid base
         with self.assertRaises(ValueError):
-            print(mpfr_get_str(1, 0, x, MPFR_RNDN))
+            mpfr_get_str(1, 0, x, MPFR_RNDN)
         with self.assertRaises(ValueError):
-            print(mpfr_get_str(63, 0, x, MPFR_RNDN))
+            mpfr_get_str(63, 0, x, MPFR_RNDN)
 
         # Invalid number of digits
         with self.assertRaises(ValueError):
-            print(mpfr_get_str(10, 1, x, MPFR_RNDN))
+            mpfr_get_str(10, 1, x, MPFR_RNDN)
         with self.assertRaises((ValueError, OverflowError)):
-            print(mpfr_get_str(10, -1, x, MPFR_RNDN))
+            mpfr_get_str(10, -1, x, MPFR_RNDN)
 
         # Bases other than 10
         x = Mpfr(20)