Changes between Version 184 and Version 185 of j2p


Ignore:
Timestamp:
01/13/25 15:54:11 (3 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v184 v185  
    562562||I'm getting {{{TypeError: missing a required argument}}} at runtime on an overloaded mockito mock call||python mockito and plum dispatch don't work together. It is easiest to work around the overloading. Change one of the overloaded method names.||
    563563||Mockito is complaining {{{AttributeError: 'Dummy' has no attribute 'xxx' configured}}}||python mockito does not automatically mock method calls and fields with null. You have to explicitly mock them||
     564||My python test gives {{{tudelft.utilities.pyrunner.PythonError: Failed to execute python ..... }}}||This happens when the python code prints to stderr. Normally test exceptions are caught so apparently your code prints to stderr. Maybe you are using a ReportToLogger or a direct print to stderr?||