]> CRI, Mines Paris - PSL - linpy.git/blobdiff - pypol/tests/test_linexprs.py
3d Plot working
[linpy.git] / pypol / tests / test_linexprs.py
index 6ec89936168f173abe624ea5e588b6fbe385e339..01f844f2c338d606b8357823b391844d8a3bcdbc 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)