mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-02-07 00:14:57 -05:00
fix VisibleDeprecation Warning (#358)
* try coverage * add python warning setting * add random seed for test coverage
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import os
|
||||
import sys
|
||||
import random
|
||||
from unittest import TestCase
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../")
|
||||
@@ -7,9 +8,10 @@ sys.path.append(os.path.dirname(os.path.abspath(__file__)) +
|
||||
"/../PathPlanning/ClosedLoopRRTStar/")
|
||||
try:
|
||||
from PathPlanning.ClosedLoopRRTStar import closed_loop_rrt_star_car as m
|
||||
except:
|
||||
except ImportError:
|
||||
raise
|
||||
|
||||
random.seed(12345)
|
||||
|
||||
print(__file__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user