Skip to content

Commit

Permalink
Disable protected access
Browse files Browse the repository at this point in the history
  • Loading branch information
domfournier committed Feb 20, 2025
1 parent b0df8f4 commit 4dc4b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def test_treemesh_2_octree(tmp_path: Path):
mesh.insert_cells([10, 10, 10], mesh.max_level, finalize=True)
omesh = treemesh_2_octree(workspace, mesh, name="test_mesh")
assert omesh.n_cells == mesh.n_cells
assert np.all((omesh.centroids - mesh.cell_centers[mesh._ubc_order]) < 1e-14)
assert np.all((omesh.centroids - mesh.cell_centers[mesh._ubc_order]) < 1e-14) # pylint: disable=protected-access
expected_refined_cells = [
(0, 0, 6),
(0, 0, 7),
Expand Down

0 comments on commit 4dc4b93

Please sign in to comment.