Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 2, 2022
1 parent 92f3f9d commit a0344a2
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions tests/test_vtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ def test_read_from_file(filename, ref_cells, ref_num_cells, ref_num_pnt):
[
("03_cow_strips.vtp", "triangle", 5804, 2903),
("04_raw_binary_strips.vtp", "triangle", 108, 56),
],
)
def test_read_from_file_triangle_strips(filename, ref_cells, ref_num_cells, ref_num_pnt):
def test_read_from_file_triangle_strips(
filename, ref_cells, ref_num_cells, ref_num_pnt
):
this_dir = pathlib.Path(__file__).resolve().parent
filename = this_dir / "meshes" / "vtp" / filename

Expand All @@ -90,13 +91,17 @@ def test_read_from_file_triangle_strips(filename, ref_cells, ref_num_cells, ref_
@pytest.mark.parametrize(
"filename, ref_cell_dict, ref_num_pnt, ref_cell_blocks",
[
("05_cow_strips_mixed.vtp", {"triangle" : 734,
"quad" : 2519,
"polygon" : 10}, 2903, 22),
(
"05_cow_strips_mixed.vtp",
{"triangle": 734, "quad": 2519, "polygon": 10},
2903,
22,
),
],
)
def test_read_from_file_polydata_mixed(filename, ref_cell_dict, ref_num_pnt, ref_cell_blocks):
def test_read_from_file_polydata_mixed(
filename, ref_cell_dict, ref_num_pnt, ref_cell_blocks
):
this_dir = pathlib.Path(__file__).resolve().parent
filename = this_dir / "meshes" / "vtp" / filename

Expand Down

0 comments on commit a0344a2

Please sign in to comment.