Commits

Mark Dickinson  committed d83bfb2

Fix SyntaxErrors in test_context and test_mpfr.

  • Participants
  • Parent commits e0916c2
  • Branches py3k

Comments (0)

Files changed (2)

File bigfloat_cython/bigfloat/test/test_context.py

 
     def test_attributes(self):
         c = DefaultContext
-        self.assertIsInstance(c.precision, int))
-        self.assertIsInstance(c.emax, int))
-        self.assertIsInstance(c.emin, int))
-        self.assertIsInstance(c.subnormalize, bool))
+        self.assertIsInstance(c.precision, int)
+        self.assertIsInstance(c.emax, int)
+        self.assertIsInstance(c.emin, int)
+        self.assertIsInstance(c.subnormalize, bool)
         self.assertIn(c.rounding, all_rounding_modes)
 
     def test_bad_rounding_mode(self):

File bigfloat_cython/bigfloat/test/test_mpfr.py

 
     def test_exponent_bounds(self):
         # Just exercise the exponent bound functions.
-        self.assertIsInstance(mpfr_get_emin(), int))
+        self.assertIsInstance(mpfr_get_emin(), int)
         self.assertIsInstance(mpfr_get_emin_min(), int)
         self.assertIsInstance(mpfr_get_emin_max(), int)
         self.assertIsInstance(mpfr_get_emax(), int)