Author: Wim Lavrijsen <[email protected]>
Branch: cppyy-packaging
Changeset: r94893:95e2a7e64991
Date: 2018-07-26 09:17 -0700
http://bitbucket.org/pypy/pypy/changeset/95e2a7e64991/

Log:    defer pythonization of std::complex for now

diff --git a/pypy/module/_cppyy/test/test_datatypes.py 
b/pypy/module/_cppyy/test/test_datatypes.py
--- a/pypy/module/_cppyy/test/test_datatypes.py
+++ b/pypy/module/_cppyy/test/test_datatypes.py
@@ -61,7 +61,7 @@
         #assert round(c.get_ldouble_r()  + 88., 24) == 0
         assert round(c.m_double + 77., 8) == 0
 
-        # complex<double> type
+        """# complex<double> type
         assert type(c.get_complex()) == complex
         assert round(c.get_complex().real    -  99., 11) == 0
         assert round(c.get_complex().imag    - 101., 11) == 0
@@ -83,7 +83,7 @@
         assert type(c.get_icomplex_r()) == cppyy.gbl.std.complex[int]
         assert round(c.get_icomplex_r().real  - 121., 11) == 0
         assert round(c.get_icomplex_r().imag  - 141., 11) == 0
-        assert complex(cppyy.gbl.std.complex['int'](1, 2)) == complex(1, 2)
+        assert complex(cppyy.gbl.std.complex['int'](1, 2)) == complex(1, 2)"""
 
         # reading of enum types
         assert c.m_enum == CppyyTestData.kNothing
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to