Skip to content
Snippets Groups Projects

Fix: Boundary Index List Tests now also check `single_link=True`

Merged Frederik Hennig requested to merge da15siwa/lbmpy:fix_index_list_tests into master
2 unresolved threads

The error fixed by pystencils!169 (merged) was allowed to pass because the test cases did not check for the single_link=True case.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
3 3 import pystencils.boundaries.createindexlist as cil
4 4 from lbmpy.stencils import get_stencil
5 5
6 import pytest
6 7
7 def test_equivalence_cython_python_version():
8 @pytest.mark.parametrize('single_link', [False, True])
9 def test_equivalence_cython_python_version(single_link):
8 10 if not cil.cython_funcs_available:
  • added 1 commit

    • 75e4c42f - Skip tests the pytest-way when cython not available

    Compare with previous version

  • added 1 commit

    • f14f3e04 - skip tests using skipif decorator

    Compare with previous version

  • added 1 commit

    • a48462eb - migrated index_list tests to pystencils

    Compare with previous version

  • merged

  • Markus Holzer mentioned in commit 2198c894

    mentioned in commit 2198c894

  • Please register or sign in to reply
    Loading