hussein-awala commented on code in PR #31946:
URL: https://github.com/apache/airflow/pull/31946#discussion_r1231547864


##########
tests/models/test_param.py:
##########
@@ -167,8 +167,8 @@ def test_number_param(self):
         p = Param(42, type="number")
         assert p.resolve() == 42
 
-        p = Param(1.0, type="number")
-        assert p.resolve() == 1.0
+        p = Param(1.2, type="number")
+        assert p.resolve() == 1.2

Review Comment:
   I am not sure that I need to update it, but using 1.2 is more significant 
that 1.0 to prove that `number` type accept float values



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to