mirror of
https://github.com/boostorg/python.git
synced 2026-01-30 20:12:37 +00:00
Correct testing bugs:
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <boost/python/list.hpp>
|
||||
#include <boost/python/make_function.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
#define BOOST_ENABLE_ASSERT_HANDLER
|
||||
#include <boost/assert.hpp>
|
||||
#include "test_class.hpp"
|
||||
|
||||
@@ -143,3 +144,4 @@ BOOST_PYTHON_MODULE(list_ext)
|
||||
;
|
||||
}
|
||||
|
||||
#include "module_tail.cpp"
|
||||
|
||||
Reference in New Issue
Block a user