2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Tests for NULL == None

[SVN r12971]
This commit is contained in:
Dave Abrahams
2002-02-28 00:24:52 +00:00
parent 412a00249f
commit db9fb22cf4

View File

@@ -84,6 +84,17 @@
>>> rewrap_const_reference_string('yo, wassup?')
'yo, wassup?'
Check that None <==> NULL
>>> rewrap_const_reference_cstring(None)
But when converted to a string rvalue, None becomes 'None':
>>> rewrap_const_reference_string(None)
'None'
Now check implicit conversions between floating/integer types
>>> rewrap_const_reference_float(42)