Eli Schwartz
6a0fabc647
mass rewrite of string formatting to use f-strings everywhere
...
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04 17:16:11 -05:00
Michael Hirsch
c9d8d4628e
simplify/correct test logic
...
before this, tests were being skipped on Ubuntu 20.04 with Anaconda Python
Now, all 5 tests success
2020-07-12 09:53:26 -04:00
Michael Hirsch
895de87b90
some python test cases don't care about backend, so run them in any case
2020-07-12 09:12:16 -04:00
Michael Hirsch
4f1a240bc2
raise SystemExit() generally preferred to sys.exit(1)
2020-07-12 09:08:04 -04:00
Michael Hirsch
173d1624cb
c lang not needed for this test
2020-07-12 09:04:59 -04:00
Michael Hirsch
ab72f52743
setuptools is not stdlib, but distutils is
2020-07-12 09:01:55 -04:00
Jussi Pakkanen
ad1cfbe7ec
Disable extension module tests with Python 3.8 and VS2015.
2019-10-20 13:30:17 +03:00
Dylan Baker
15ab1f64f9
modules/python: add a modules keyword argument
...
This mirrors the modules keyword argument that some dependencies (such
as qt and llvm) take. This allows an easier method to determine if
modules are installed.
2019-06-12 14:13:20 +03:00
Dylan Baker
82346a2bd2
modules/python: Report program found in find_installation()
...
Currently find_installation is silent, which is pretty annoying. Let's
log it.
2019-04-03 14:48:29 -07:00
Dylan Baker
978e6fb88f
tests: Add tests for the python module
...
This doesn't touch everything as it's just based on the python3 module
tests, ported to the python module. It's still better than the one very
basic test in the unit test module.
2018-12-12 12:23:37 -08:00
Nirbheek Chauhan
575ffec62e
python module: Move tests to test cases/unit
...
The tests are only run via unit tests, so that's where they should be.
2018-05-03 18:56:34 +05:30
Mathieu Duponchelle
33abe0cf55
[fixup]: Rename find to find_installation
2018-04-09 15:43:25 +02:00
Mathieu Duponchelle
e1b138a21b
Implement a generic python module
...
With contributions from Håvard Graff
2018-04-06 22:43:35 +02:00