William S Fulton
89bee6a7fa
Modify examples to be both Python 2 and 3 compatible
...
For removing dependency on 2to3
2020-08-15 16:46:01 +01:00
Dmitry D. Chernov
f88ba7c182
Examples: Unify string quoting in the Python sources
2019-07-14 14:12:23 +10:00
William S Fulton
ff93f2e26e
Skip Python subprocess calls in import_packages testcase on Windows
...
Getting these kind of errors on Appveyor which uses mingw/cygwin to run
a Python interpreter:
Native windows Python 3.6 running under cygwin and mingw Python 3.7 running under mingw:
Fatal Python error: _Py_HashRandomization_Init: failed to get random
numbers to initialize Python
Cygwin Python 2.7 running under cygwin:
0 [main] python2.7 496 child_info_fork::abort: address space needed by '_foo.dll' (0x6D0000)
is already occupied
2018-12-06 06:50:57 +00:00
William S Fulton
604ae7186b
Fix for running 'python -m' when using swig -builtin
...
Same as e05b5ea for -builtin.
Also added runtime tests to check 'python -m'.
2018-12-04 19:12:13 +00:00
William S Fulton
9e83d5d5d9
Fix nstest.py test
...
Use subprocess.check_call as os.system won't stop the test in case of
errors.
2018-12-04 06:49:55 +00:00
William S Fulton
aedc3c3eaf
Replace assert in Python import examples with code that always runs.
2017-08-13 21:32:44 +01:00
William S Fulton
dd40a25349
Add missing print statements to the Python import_packages tests
2016-06-06 22:12:56 +01:00
Mike Romberg
055ddc6dfc
remove -py3 related tests. Move py3 specific code to it's own module
2016-06-03 18:11:07 -06:00
Mike Romberg
5ceef0a813
use %inline for test
2016-05-24 22:46:45 +01:00
Mike Romberg
6f1c0e3725
Attempt to calm the testing gods...
2016-04-05 11:10:03 -06:00
Mike Romberg
b6c93a14e4
use whatever name winders uses for .so files.
2016-04-05 11:09:14 -06:00
Mike Romberg
0a81b76b31
Examples (and tests) for python namespace packages
2016-04-05 11:06:02 -06:00
Mike Romberg
6f4aa4faf5
spelling
2016-04-05 10:58:50 -06:00
Mike Romberg
ce04d0cdf3
Attempt to calm the testing gods...
2016-04-05 10:58:50 -06:00
Mike Romberg
afc91fe923
use whatever name winders uses for .so files.
2016-04-05 10:58:50 -06:00
Mike Romberg
c0cc731ca8
Don't run example for old pythons
2016-04-05 10:58:50 -06:00
Mike Romberg
ba158e7919
Examples (and tests) for python namespace packages
2016-04-05 10:58:50 -06:00