Skip to content

Commit

Permalink
do not test deprecated signatures in libtraci #21
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Jan 2, 2025
1 parent 1b697fd commit 20126d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/complex/traci/misc/signature/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def libsumo(): return None
try:
traci.start([sumolib.checkBinary("sumo"), "-c", "sumo.sumocfg"])
traci.simulationStep()
traci.vehicle.setLaneChangeMode("horiz", lcm=0)
if not traci.isLibtraci():
traci.vehicle.setLaneChangeMode("horiz", lcm=0)
traci.vehicle.setParameter(objectID="horiz", key="blub", value="blubber")
traci.vehicle.setParameter(objID="horiz", key="blub", value="blubber")
traci.vehicle.setParameter(objectID="horiz", param="blub", value="blubber")
Expand Down

0 comments on commit 20126d7

Please sign in to comment.