diff options
Diffstat (limited to 'tests/test_constructor.py')
-rw-r--r-- | tests/test_constructor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_constructor.py b/tests/test_constructor.py index bb01692..0aacf17 100644 --- a/tests/test_constructor.py +++ b/tests/test_constructor.py @@ -231,6 +231,8 @@ def _serialize_value(data): return repr(data.utctimetuple()) elif isinstance(data, unicode): return data.encode('utf-8') + elif isinstance(data, float) and data != data: + return '?' else: return str(data) |