aboutsummaryrefslogtreecommitdiff
path: root/unittests/datatests.py
AgeCommit message (Collapse)AuthorFilesLines
2023-03-01interpreter: Add testcase..endtestcase clause supportXavier Claessens1-0/+6
This is currently only enabled when running unit tests to facilitate writing failing unit tests. Fixes: #11394
2022-04-19docs: Add documentation on pkgconfig.relocatableFredrik Salomonsson1-1/+1
- Documentation for the pkgconfig.relocatable module option in Builtin-options. Gives an explanation on what it does, usefulness and what error that can occur when using it. - Add pkgconfig.relocatable release snippet. Similar to the documentation in Builtin-options. Just a bit more brief. - Add Pkgconfig to DataTests.test_builtin_options_documented in the docs unit tests.
2022-04-14unittests: make datatests capable of parsing module subsections properlyEli Schwartz1-6/+12
We will need to update the tests for each module that gets newly added, apparently, but the basic structure for doing so is hopefully there.
2022-01-10port from embedded data to importlib.resourcesEli Schwartz1-36/+0
2021-10-08python: Add platlibdir and purelibdir optionsXavier Claessens1-3/+4
2021-10-04various python neatness cleanupsEli Schwartz1-2/+2
All changes were created by running "pyupgrade --py3-only" and committing the results. Although this has been performed in the past, newer versions of pyupgrade can automatically catch more opportunities, notably list comprehensions can use generators instead, in the following cases: - unpacking into function arguments as function(*generator) - unpacking into assignments of the form x, y = generator - as the argument to some builtin functions such as min/max/sorted Also catch a few creeping cases of new code added using older styles.
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz1-1/+0
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-07-26Split run_unittests.py fileXavier Claessens1-0/+272