swig/Examples/test-suite/python
William S Fulton ec2b47ef2a Remove need for Python 2to3
All Python examples and tests have been written to be both Python 2 and Python 3
compatible, removing the need for 2to3 to run the examples or test-suite.

The 2to3 executable is not always available and even when available does not
always work, e.g. with pyenv. An alternative would be to use the lib2to3 Python
module instead, but this isn't available in some older versions of Python 3.

I had this problem on Ubuntu Bionic on Travis:

  checking Examples/python/callback
  pyenv: 2to3-3.8: command not found
  The `2to3-3.8' command exists in these Python versions:
    3.8
    3.8.1

Reference issues:
  https://github.com/pypa/virtualenv/issues/1399
  https://travis-ci.community/t/2to3-command-not-found-in-venv-in-bionic/4495
2020-08-15 18:04:58 +01:00
..
abstract_access_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_typedef2_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_virtual_runme.py
argcargvtest_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
array_member_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
arrays_global_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
autodoc_runme.py Fix crash in Python backend when using empty docstrings 2020-01-30 16:11:18 +01:00
callback_runme.py Fix python callback test-suite failure 2019-01-16 20:10:37 +00:00
char_binary_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
class_ignore_runme.py
class_scope_weird_runme.py added more cases 2005-10-17 13:43:35 +00:00
comment_verifier.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
compactdefaultargs_runme.py Add tests for Python -builtin -O and compactdefaultargs and update changes file 2016-04-02 11:29:54 +01:00
complextest_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
constant_directive_runme.py fix handling of function pointers by %constant directive 2016-03-24 11:22:51 +01:00
constover_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
constructor_copy_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
constructor_rename_runme.py fix regression of Python constructor renaming introduced by py3k work 2010-04-25 14:07:14 +00:00
contract_runme.py Improve Python testing catching exceptions 2020-08-13 21:40:11 +01:00
cpp11_alternate_function_syntax_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_decltype_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_final_directors_runme.py Fix the handling of director classes with final methods 2019-02-22 06:28:53 -07:00
cpp11_function_objects_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_hash_tables_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_initializer_list_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_initializer_list_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_null_pointer_constant_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_raw_string_literals_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_ref_qualifiers_runme.py Add support for conversion operators with ref-qualifiers 2017-08-30 18:17:05 +01:00
cpp11_ref_qualifiers_rvalue_unignore_runme.py Add unignore for rvalue ref-qualifiers 2017-08-30 18:17:04 +01:00
cpp11_result_of_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_rvalue_reference_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_shared_ptr_overload_runme.py Fix overloading of shared_ptr method overloading 2017-09-23 15:19:34 +01:00
cpp11_shared_ptr_template_upcast_runme.py Test shared_ptr upcasts in Python 2020-01-24 19:54:29 +00:00
cpp11_shared_ptr_upcast_runme.py Port Ruby test of vector<shared_ptr<>> to Python 2020-02-13 19:21:30 +00:00
cpp11_std_array_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_strongly_typed_enumerations_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_template_typedefs_runme.py Add C++11 alias templates 2016-07-06 00:31:04 +03:00
cpp11_thread_local_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_type_aliasing_runme.py Added support for type alias 2016-06-22 23:13:28 +03:00
cpp11_type_traits_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_uniform_initialization_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp14_binary_integer_literals_runme.py Add support for C++14 binary integer literals 2019-02-10 15:38:49 -07:00
cpp17_hex_floating_literals_runme.py Add support for C++17 hexadecimal floating literals 2019-02-13 15:16:40 -07:00
cpp17_nested_namespaces_runme.py Add c++17 nested namespaces runtime test for Python 2018-05-14 21:03:31 +01:00
cpp17_u8_char_literals_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
cpp_enum_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
cpp_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp_parameters_runme.py Python -builtin constructors silently ignored keyword arguments. 2020-01-13 19:26:22 +00:00
cpp_static_runme.py Fix Python low-level static member setters. 2019-03-20 21:44:34 +00:00
default_arg_values_runme.py Fix Python typedef bool default arguments that are not booleans. 2015-05-27 20:55:56 +01:00
default_args_c_runme.py Fix C default arguments with -builtin and -fastunpack and -modernargs. 2018-10-04 08:06:01 +01:00
default_args_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
default_constructor_runme.py Remove further print statements from Python tests 2020-08-13 21:47:20 +01:00
director_abstract_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_alternating_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_basic_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_classic_runme.py Fix incorrect director_classic_runme.py test 2015-10-10 01:26:29 +01:00
director_comparison_operators_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_default_runme.py
director_detect_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_enum_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_exception_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_extend_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_finalizer_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_frob_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_keywords_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_nested_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_pass_by_value_runme.py Fix directorin SWIGTYPE typemaps to make a copy as these are used for pass by value. 2016-05-14 21:32:24 +01:00
director_profile_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_property_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_protected_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_smartptr_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_stl_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_string_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_thread_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_unroll_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_wstring_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
disown_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
doxygen_alias_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_basic_notranslate_runme.py Fix Java doxygen:notranslate for single line comments 2018-06-16 21:23:12 +01:00
doxygen_basic_translate_runme.py Merge branch 'Issue-1643' 2020-01-16 18:54:47 +00:00
doxygen_basic_translate_style2_runme.py Flag optional arguments in doxygen pydoc output 2019-08-07 16:42:39 -05:00
doxygen_basic_translate_style3_runme.py Correct recently expanded testcase from a merge for doxygen default parameter support 2020-01-16 19:49:16 +00:00
doxygen_code_blocks_runme.py Special handling for python doctest code blocks 2019-08-07 17:04:12 -05:00
doxygen_ignore_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_misc_constructs_runme.py Fix generated Python code for Doxygen comments with triple quotes 2020-03-04 00:57:31 +01:00
doxygen_parsing_runme.py Better detection of builtin in Python testcase 2018-08-14 19:16:25 +01:00
doxygen_translate_all_tags_runme.py Fix for missing space after \endlink in doxygen 2020-05-02 18:42:55 -05:00
doxygen_translate_links_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_translate_runme.py Fix doxygen translation of \p command for python 2019-09-15 10:59:03 -05:00
dynamic_cast_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
empty_c_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: empty 2016-02-21 18:03:14 +00:00
empty_runme.py massive typemap unification 2005-10-18 13:24:15 +00:00
enum_forward_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
enum_template_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
enums_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
exception_classname_runme.py Replace assert from Python testcases with code that always runs. 2016-06-19 20:11:51 +01:00
exception_order_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
extend_placement_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
extend_template_method_runme.py Enhance %extend to extend a class with template constructors 2017-01-24 19:01:43 +00:00
extend_template_ns_runme.py
extend_template_runme.py
extend_variable_runme.py add Luigi's static patch for extended variables 2005-10-18 14:04:14 +00:00
extern_c_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
file_test_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
friends_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
funcptr_cpp_runme.py Add Python runtime test for const function pointer 2018-11-13 07:35:44 +00:00
functors_runme.py Fix functors (wrapped as __call__) when using -builtin -modern -fastunpack. 2018-09-19 20:10:11 +01:00
fvirtual_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
global_functions_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
global_namespace_runme.py Drop support for Python classic classes 2018-10-12 07:10:47 +01:00
global_ns_arg_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
global_vars_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
grouping_runme.py This commit contains all changes to the regression tests which 2011-01-30 04:13:58 +00:00
hugemod.pl Merged revisions 10487,10498-10499,10503-10504,10506,10508,10511,10515-10516,10518-10519,10527,10530-10531,10536-10537,10539-10552,10558-10568,10574-10580,10582,10584,10588-10589,10594,10607-10610,10616,10621,10624-10629,10633-10641,10643,10647,10649-10650,10662,10672,10676-10677,10682-10683,10714,10726-10727,10738,10743,10747,10749,10794,10801-10809,10827-10831,10834 via svnmerge from 2008-09-12 10:51:51 +00:00
iadd_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
ignore_parameter_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
implicittest_runme.py Fix typecheck typemaps for non-pointers and NULL 2018-12-29 11:45:46 +00:00
import_nomodule_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
import_stl_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
imports_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
inctest_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
inherit_missing_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
inout_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
inplaceadd_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
input_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
keyword_rename_c_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: keyword_rename 2016-02-21 18:04:04 +00:00
keyword_rename_runme.py Add more tests for Python parameter renaming 2019-01-16 04:29:04 +01:00
kwargs_feature_runme.py Fix bug in Python builtin support for keyword args 2019-11-01 19:46:42 +00:00
langobj_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_attribute_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_attribute_template_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_boost_shared_ptr_bits_runme.py Drop support for Python classic classes 2018-10-12 07:10:47 +01:00
li_boost_shared_ptr_director_runme.py Add directorin typemap for Python and Ruby shared_ptr. 2017-09-27 11:22:30 -03:00
li_boost_shared_ptr_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_boost_shared_ptr_template_runme.py %shared_ptr and %template testcase modified to work for python -O 2016-06-21 19:49:27 +01:00
li_carrays_cpp_runme.py Zero initialize newly created arrays 2016-12-18 17:50:47 +00:00
li_carrays_runme.py Zero initialize newly created arrays 2016-12-18 17:50:47 +00:00
li_cdata_cpp_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cdata 2016-02-21 18:04:04 +00:00
li_cdata_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_cmalloc_runme.py add more cases 2005-10-19 10:56:37 +00:00
li_cpointer_cpp_runme.py Zero initialize %array_functions and %array_class 2016-12-18 17:50:47 +00:00
li_cpointer_runme.py Zero initialize %array_functions and %array_class 2016-12-18 17:50:47 +00:00
li_cstring_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_cwstring_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_factory_runme.py fix for python 2.1 2006-03-05 06:36:55 +00:00
li_implicit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_auto_ptr_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_carray_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_containers_int_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_containers_overload_runme.py Python STL container method overloading fix 2019-08-06 19:36:14 +01:00
li_std_except_as_class_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_map_member_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_map_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_pair_extra_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_pair_runme.py Add basic std::pair Python testing 2020-08-13 16:06:48 +01:00
li_std_pair_using_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_set_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_stream_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_std_string_extra_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_vector_back_reference_runme.py Add std::vector back reference test 2019-02-18 21:39:17 +00:00
li_std_vector_enum_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_vector_extra_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_vector_ptr_runme.py Add missing typedefs to std::vector + typedef corrections 2019-02-13 22:46:28 +00:00
li_std_vector_runme.py Fix iterators for containers of NULL pointers (or Python None) when using -builtin. 2016-09-17 17:53:48 +01:00
li_std_wstream_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_std_wstring_inherit_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_std_wstring_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
Makefile.in Remove need for Python 2to3 2020-08-15 18:04:58 +01:00
member_pointer_const_runme.py Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
member_pointer_runme.py Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
memberin_extend_c_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
minherit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
mod_runme.py avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
multi_import_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
namespace_class_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
namespace_typemap_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
namespace_virtual_method_runme.py
naturalvar_runme.py add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods. 2005-12-27 21:48:56 +00:00
nested_in_template_runme.py Avoid comparing doubles in nested_in_template.i unit test 2018-12-04 20:46:35 +01:00
nested_runme.py Add testcase for nested C struct name conflict 2018-08-20 19:21:14 +01:00
nested_template_base_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
nested_workaround_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
operator_overload_runme.py Fix functors (wrapped as __call__) when using -builtin -modern -fastunpack. 2018-09-19 20:10:11 +01:00
operbool_runme.py Replace assert from Python testcases with code that always runs. 2016-06-19 20:11:51 +01:00
overload_bool_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_complicated_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_copy_runme.py
overload_extend2_runme.py rename overload_extendc testcase 2016-02-21 18:04:04 +00:00
overload_extend_c_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
overload_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_null_runme.py Add test for overloading and NULL 2018-12-29 14:15:45 +00:00
overload_numeric_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_rename_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_simple_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_subtype_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_template_fast_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_template_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
pointer_reference_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
preproc_defined_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
preproc_gcc_output_runme.py Fix regression parsing gcc preprocessor linemarkers 2019-02-19 21:32:04 +00:00
preproc_include_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
preproc_runme.py Add testcase for macros with commas in comment 2017-04-27 19:47:29 +01:00
primitive_ref_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
primitive_types_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
profiletest_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
profiletestc_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
python_abstractbase_runme.py Remove python3 specific runme3.py test files 2020-08-15 12:20:23 +01:00
python_append_runme.py Fixing setting this in Python when using __slots__ 2020-02-06 07:08:16 +00:00
python_builtin_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
python_destructor_exception_runme.py Convert two tests to work with both Python 2 and 3 2020-08-13 23:34:28 +01:00
python_docstring_runme.py Drop support for Python classic classes 2018-10-12 07:10:47 +01:00
python_extranative_runme.py Python - fix compilation error when using -extranative and -builtin. 2016-11-02 22:00:54 +00:00
python_moduleimport_runme.py Custom Python module importing code 2016-12-01 18:59:33 +00:00
python_nondynamic_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
python_overload_simple_cast_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
python_pickle_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
python_pybuffer_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
python_pythoncode_runme.py Testcase for testing __new__ override Python 3.6 fix 2018-12-20 08:10:35 +00:00
python_richcompare_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
python_strict_unicode_runme.py Convert two tests to work with both Python 2 and 3 2020-08-13 23:34:28 +01:00
python_threads_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
python_varargs_typemap_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
pythonswig.supp Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig 2008-05-20 21:27:22 +00:00
README Merged revisions 10487,10498-10499,10503-10504,10506,10508,10511,10515-10516,10518-10519,10527,10530-10531,10536-10537,10539-10552,10558-10568,10574-10580,10582,10584,10588-10589,10594,10607-10610,10616,10621,10624-10629,10633-10641,10643,10647,10649-10650,10662,10672,10676-10677,10682-10683,10714,10726-10727,10738,10743,10747,10749,10794,10801-10809,10827-10831,10834 via svnmerge from 2008-09-12 10:51:51 +00:00
refcount_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
reference_global_vars_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
rename_pcre_encoder_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
rename_predicates_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
rename_rstrip_encoder_runme.py Add rstrip encoder for use in %rename. 2016-03-02 07:11:09 +00:00
rename_scope_runme.py add test for rename 2006-02-17 20:46:13 +00:00
rename_strip_encoder_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
ret_by_value_runme.py
return_const_value_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
smart_pointer_const_overload_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_member_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
smart_pointer_multi_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_multi_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_not_runme.py Remove further print statements from Python tests 2020-08-13 21:47:20 +01:00
smart_pointer_overload_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_rename_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_simple_runme.py
smart_pointer_templatevariables_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_typedef_runme.py
sneaky1_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
special_variable_macros_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
static_const_member_2_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
std_containers_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
struct_initialization_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
struct_rename_runme.py
struct_value_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
swigobject_runme.py Convert swigobject python test to be python 2 and 3 compatible 2020-08-14 23:27:35 +01:00
template_class_reuse_name_runme.py Allow an instantiated template to have the same name as the C++ template name 2017-09-29 23:28:04 +01:00
template_classes_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_construct_runme.py
template_default_arg_overloaded_extend_runme.py Testcase fix for R 2016-05-07 19:30:13 +01:00
template_default_arg_overloaded_runme.py Fix overloaded templates and default arguments 2015-10-11 17:30:34 +01:00
template_default_arg_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_default_cache_runme.py Add template_default_cache runtime tests 2017-01-16 07:46:03 +00:00
template_extend1_runme.py
template_extend2_runme.py
template_inherit_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_matrix_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ns4_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ns_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_opaque_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ref_type_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_rename_runme.py fixes for %templates/%rename/%features + templates 2006-02-05 20:25:43 +00:00
template_static_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_tbase_template_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_type_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx2_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typedef_cplx3_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx4_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typedef_import_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typemaps_typedef2_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_typemaps_typedef_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_using_directive_typedef_runme.py Add using declarations to templates into typedef table. 2017-08-16 00:24:25 +01:00
threads_exception_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
typedef_class_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typedef_classforward_same_name_runme.py Add more runtime typedef_classforward_same_name runtime testing 2017-12-31 16:37:27 +00:00
typedef_funcptr_runme.py Fix handling of typedef'd function pointers for Go 2017-03-17 07:49:21 +00:00
typedef_inherit_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
typedef_scope_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
typedef_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_arrays_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
typemap_delete_runme.py Fix typemap delete regression introduced in rev 11838 2010-05-03 22:58:27 +00:00
typemap_documentation_runme.py Update documentation for using SWIG_ConvertPtr example usage 2016-10-23 20:16:35 +01:00
typemap_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_ns_using_runme.py
typemap_out_optimal_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_qualifier_strip_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_template_typedef_runme.py Typemap change for templates 2017-08-16 00:24:06 +01:00
typename_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
types_directive_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
unicode_strings_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
unions_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
using1_runme.py
using2_runme.py
using_composition_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_extend_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_inherit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_private_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_protected_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
varargs_overload_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
varargs_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
virtual_derivation_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
virtual_poly_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
voidtest_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
wrapmacro_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00

See ../README for common README file.

Any testcases which have _runme.py (or _runme3.py for Python 3) appended after the testcase name will be detected and run.

If you intend to write a testcase for both Python 2.x and 3.x, do *not* directly put the _runme3.py in this directory. Just write Python 2.x's _runme.py testcase and it will be automatically converted to Python 3 code during test.

You can run make with PY3=y to run test case with Python 3.x, eg.
  $ make voidtest.cpptest PY3=y