summaryrefslogtreecommitdiff
path: root/test/test_sparql/test_datetime_processing.py
Commit message (Collapse)AuthorAgeFilesLines
* test: Eliminate flake8 errors in tests (#2353)Iwan Aucamp2023-04-141-4/+4
| | | | | | | | | | | | | | | | | | | | | Eliminate some occurrences of the following flake8 errors in tests: * E265 block comment should start with '# ' * E266 too many leading '#' for block comment * E402 module level import not at top of file * E712 comparison to False should be 'if cond is False:' or 'if not cond:' * E712 comparison to True should be 'if cond is True:' or 'if cond:' * E722 do not use bare 'except' * F401 ... imported but unused * F403 ... used; unable to detect undefined names * F405 ... may be undefined, or defined from star imports: ... * F541 f-string is missing placeholders * F841 local variable 'result' is assigned to but never used * N806 variable 'TEST_DIR' in function should be lowercase This is pursuant to eliminating [flakeheaven](https://github.com/flakeheaven/flakeheaven), as it no longer supports the latest version of flake8 [[ref](https://github.com/flakeheaven/flakeheaven/issues/132)].
* edit tabs to spacesGraham Higgins2022-05-171-1/+1
|
* test: remove unused imports in test codeIwan Aucamp2022-05-171-4/+1
| | | | | | | | | | This patch removes unused imports in test code. This is mainly to remove the potential snag for flake8/flakeheaven. The actual cleanup was done with `pycln --all test`. Also: - Remove superflous `pass` statements.
* test: move test utility modules into `test/utils/` (#1879)Iwan Aucamp2022-05-041-1/+1
| | | | | | | This patch moves all test utility modules into `test/utils/` and the tests for these modules into `test/utils/test/`. This is to make test utilities more organized and in preparation for adding more test utilities related to test suites.
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-04-151-6/+7
| | | | for more information, see https://pre-commit.ci
* more test re-orgGraham Higgins2022-04-021-0/+276