Piotr wrote: > Hi > > This is for IronPython 2.7 > Pytest 2.0.3 installed in site-packages > > Running a test with pytest results in the following system error: > SystemError: Unsupported param dictionary type: > IronPython.Runtime.PythonDictionary > > Any ideas what the problem is? > > ---------------------------------------------- > Here is the example and the error: > > class TestBasic: > def test_01(self): > for n in (2, 4, 6, 8, 10): > yield self.n_greater_than_zero, n > > def n_greater_than_zero(self, n): > assert n > 0 > > if __name__ == '__main__': > import pytest > pytest.main() > > C:\IronPython\ipy.exe .\test_001_dd.py > Traceback (most recent call last): > File ".\test_001_dd.py", line 11, in <module> > File "C:\IronPython\lib\site-packages\pytest.py", line 6, in <module> > File "C:\IronPython\lib\site-packages\_pytest\core.py", line 7, in <module> > File "C:\IronPython\lib\site-packages\py\__init__.py", line 19, in <module> > File "C:\IronPython\lib\site-packages\py\_apipkg.py", line 33, in initpkg > SystemError: Unsupported param dictionary type: > IronPython.Runtime.PythonDictionary
Can you send the code in _apipkg.py on line 33 (and maybe some surrounding code)? Anyway, it sounds like a binder bug but that code might help create a simple repro. _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com