Commits

Mark Dickinson committed b749c8f

Don't use 'print' in tests.

  • Participants
  • Parent commits 11b5e10

Comments (0)

Files changed (1)

File 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)