Commit graph

8 commits

Author SHA1 Message Date
Erik Ogenvik
c4f39fbe95 Print code being tested. 2018-07-23 16:42:22 +02:00
Erik Ogenvik
5b282419be Finalize conversion to Python 3. 2018-05-07 11:15:26 +02:00
Erik Ogenvik
e7fa53214b Use nullptr instead of NULL. 2018-02-06 13:45:11 +01:00
Olek Wojnar
7f9ff2246d Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
2013-07-15 20:31:59 +02:00
Alistair Riddoch
9a0f41024e Return the correct error code 2012-02-11 13:45:36 +00:00
Alistair Riddoch
d02247121b Add macro to check python tests fail correctly
When a Python string fails in an expected way, we need to be able to
check that it raised the exception we were expecting. This combined
with the parser check implemented recently gives way better Python
testing.
2012-01-03 19:09:41 +00:00
Alistair Riddoch
bb2520f855 Fill out more copyright information, and docs 2012-01-03 14:17:10 +00:00
Alistair Riddoch
7e015fcabd Add a new function for running test Python strings
This function distinguishes between expected runtime errors, and errors caused
by bad code in the given string. Parse errors and related problems should
always result in the test failing. Expected runtime errors are necessary to
fully cover pathways in the Python bindings.
2012-01-03 11:40:09 +00:00