Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SCHEMA] Very minor tune ups to the test_rule_objects test while tryi…
…ng to grasp its function (#1728) * RF: minor simplification of Python code If the point is to go through values, just go through .values() without iterating through keys() and then dereferencing via [key] * Raise AssertionError in the test, not ValueError Since then also it is not clear if that is indeed some ValueError from within code. I also added a string which summarizes the problem. * Update tools/schemacode/bidsschematools/data/tests/test_rules.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Chris Markiewicz <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information