projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify Expression.__mul__(), Expression.__truediv__()
[linpy.git]
/
pypol
/
tests
/
test_linexprs.py
diff --git
a/pypol/tests/test_linexprs.py
b/pypol/tests/test_linexprs.py
index
6ec8993
..
01f844f
100644
(file)
--- a/
pypol/tests/test_linexprs.py
+++ b/
pypol/tests/test_linexprs.py
@@
-275,7
+275,7
@@
class TestRational(unittest.TestCase):
def setUp(self):
self.zero = Rational(0)
self.one = Rational(1)
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)
def test_new(self):
self.assertEqual(Rational(), self.zero)