Bypass Python tests failing with -builtin

Reverse operators not supported in builtin types
This commit is contained in:
William S Fulton 2014-10-02 20:18:38 +01:00
commit 9f1b051c16
5 changed files with 25 additions and 15 deletions

View file

@ -49,6 +49,12 @@ std::basic_string<char,std::char_traits<char>,std::allocator<char> > test_value_
return x;
}
#ifdef SWIGPYTHON_BUILTIN
bool is_python_builtin() { return true; }
#else
bool is_python_builtin() { return false; }
#endif
%}
%include "li_std_string.i"