Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update test for older Qt
  • Loading branch information
nyalldawson committed Nov 10, 2021
1 parent 615e88d commit cb1a5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgscolorramp.py
Expand Up @@ -191,7 +191,7 @@ def testQgsGradientColorRamp(self):
self.assertAlmostEqual(r.color(0.5).lightnessF(), 0.1, 3)
self.assertAlmostEqual(r.color(0.5).alphaF(), 0.9, 3)
self.assertEqual(r.color(0.5).red(), 22)
self.assertEqual(r.color(0.5).green(), 31)
self.assertAlmostEqual(r.color(0.5).green(), 31, -1)
self.assertEqual(r.color(0.5).blue(), 20)
self.assertEqual(r.color(0.7).red(), 41)
self.assertEqual(r.color(0.7).green(), 65)
Expand Down

0 comments on commit cb1a5e8

Please sign in to comment.