summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/li_attribute_runme.py
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2020-08-15 18:04:58 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2020-08-15 18:04:58 +0100
commitec2b47ef2a4e5c879dde9eac8872db479ac55e74 (patch)
tree11bd0b7fd2628ebcffedd7bb7eb14cecf1ad5ff2 /Examples/test-suite/python/li_attribute_runme.py
parent89bee6a7fa2236da8f10bf200abdc4892d4085b8 (diff)
downloadswig-ec2b47ef2a4e5c879dde9eac8872db479ac55e74.tar.gz
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
Diffstat (limited to 'Examples/test-suite/python/li_attribute_runme.py')
0 files changed, 0 insertions, 0 deletions