add # pragma: no cover

This commit is contained in:
Atsushi Sakai
2019-02-03 10:20:23 +09:00
parent f0b6b7a94d
commit af854d6d1a
25 changed files with 55 additions and 58 deletions

View File

@@ -393,7 +393,7 @@ def test():
px, py, pyaw, mode, clen = reeds_shepp_path_planning(
start_x, start_y, start_yaw, end_x, end_y, end_yaw, curvature, step_size)
if show_animation:
if show_animation: # pragma: no cover
plt.cla()
plt.plot(px, py, label="final course " + str(mode))
@@ -430,7 +430,7 @@ def main():
px, py, pyaw, mode, clen = reeds_shepp_path_planning(
start_x, start_y, start_yaw, end_x, end_y, end_yaw, curvature, step_size)
if show_animation:
if show_animation: # pragma: no cover
plt.cla()
plt.plot(px, py, label="final course " + str(mode))