Add _repr_latex_ methods for IPython prettyprint
[linpy.git] / pypol / tests / test_linexprs.py
index 6ec8993..01f844f 100644 (file)
@@ -275,7 +275,7 @@ class TestRational(unittest.TestCase):
     def setUp(self):
         self.zero = Rational(0)
         self.one = Rational(1)
-        self.pi = Rational(Fraction(22, 7))
+        self.pi = Rational(22, 7)
 
     def test_new(self):
         self.assertEqual(Rational(), self.zero)