diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-03 04:20:07 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-03 04:20:07 -0300 |
commit | 3df3f556471cbaa1d3929e7929a4e5c201ffca45 (patch) | |
tree | 3e67aa72cb6f5b93ff1876def2c3bad511e715bf /tests/samplebinding/pystr_test.py | |
parent | bfa59654a4393f15a82599e4dc7452673ed2fae4 (diff) |
libsample's Point.__str__ now shows float point values;
test case updated accordingly
Diffstat (limited to 'tests/samplebinding/pystr_test.py')
-rwxr-xr-x | tests/samplebinding/pystr_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/pystr_test.py b/tests/samplebinding/pystr_test.py index a67e45f3d..e078c722f 100755 --- a/tests/samplebinding/pystr_test.py +++ b/tests/samplebinding/pystr_test.py @@ -37,7 +37,7 @@ class PyStrTest(unittest.TestCase): def testPyStr(self): '''Test case for defined __str__ method.''' pt = Point(5, 2) - self.assertEqual(str(pt), 'Point(5, 2)') + self.assertEqual(str(pt), 'Point(5.0, 2.0)') if __name__ == '__main__': unittest.main() |