Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r2693:4e890638f9d1
Date: 2016-05-07 14:29 +0200
http://bitbucket.org/cffi/cffi/changeset/4e890638f9d1/

Log:    an extra test

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -158,6 +158,7 @@
         assert bool(cast(p, -1e-42)) is True
         assert bool(cast(p, INF))
         assert bool(cast(p, -INF))
+        assert bool(cast(p, float("nan")))
         assert int(cast(p, -150)) == -150
         assert int(cast(p, 61.91)) == 61
         assert long(cast(p, 61.91)) == 61
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to