Skip to content

Commit fbedcd3

Browse files
committed
fixing test
1 parent 8b2462b commit fbedcd3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

pyNastran/converters/nastran/test_nastran_gui.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -420,16 +420,15 @@ def test_solid_shell_bar_01(self):
420420
csv_filename=None, show=False, stop_on_failure=True)
421421

422422
if IS_CUTTING_PLANE:
423-
with self.assertRaises(TypeError):
424-
# we need to set the case to a grid point force result
425-
test.cutting_plane_obj.make_cutting_plane(
426-
model_name,
427-
p1, p2, zaxis,
428-
method='Z-Axis Projection',
429-
cid_p1=0, cid_p2=0, cid_zaxis=0,
430-
ytol=1., plane_atol=1e-5,
431-
plane_color=None, plane_opacity=0.5,
432-
csv_filename=None, show=False, stop_on_failure=True)
423+
# we need to set the case to a grid point force result
424+
test.cutting_plane_obj.make_cutting_plane(
425+
model_name,
426+
p1, p2, zaxis,
427+
method='Z-Axis Projection',
428+
cid_p1=0, cid_p2=0, cid_zaxis=0,
429+
ytol=1., plane_atol=1e-5,
430+
plane_color=None, plane_opacity=0.5,
431+
csv_filename=None, show=False, stop_on_failure=True)
433432

434433
# setting the case to a grid point force result
435434
test.icase_fringe = icase_gpforce

0 commit comments

Comments
 (0)