Commit 5d2f453f authored by Martin Pitt's avatar Martin Pitt
Browse files

tests: Update test_double() after e65c1248

Commit e65c1248 introduced support for NaN and ±inf as valid float values,
rendering the "expect ValueError on 2*double" check broken. Just remove it.
parent b8bf4ec6
......@@ -218,7 +218,6 @@ class TestEverything(unittest.TestCase):
GObject.G_MAXDOUBLE)
self.assertEqual(Everything.test_double(GObject.G_MINDOUBLE),
GObject.G_MINDOUBLE)
self.assertRaises(ValueError, Everything.test_double, GObject.G_MAXDOUBLE * 2)
(two, three) = Everything.test_multi_double_args(2.5)
self.assertAlmostEqual(two, 5.0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment