From ff67c85587689f15f4685307a2b7aa6f8ddd7ea3 Mon Sep 17 00:00:00 2001 From: yardasol Date: Mon, 4 Apr 2022 22:13:10 -0500 Subject: [PATCH] use the correct lines variables --- tests/unit_tests/test_lattice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/test_lattice.py b/tests/unit_tests/test_lattice.py index b82c2399d..99bc284b0 100644 --- a/tests/unit_tests/test_lattice.py +++ b/tests/unit_tests/test_lattice.py @@ -360,7 +360,7 @@ def test_show_indices(): lines = openmc.HexLattice.show_indices(i).split('\n') assert len(lines) == 4*i - 3 lines_x = openmc.HexLattice.show_indices(i, 'x').split('\n') - assert len(lines) == 4*i - 3 + assert len(lines_x) == 4*i - 3 def test_unset_universes():