Skip to content

Commit 48b6a58

Browse files
author
David Butterworth
committed
Fixed duplicated test names test_SampleTimeGenerator_*
1 parent 88a3d34 commit 48b6a58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def test_SampleTimeGenerator_StepOfTwo(self):
565565
decimal=7, err_msg=error, \
566566
verbose=True)
567567

568-
def test_SampleTimeGenerator_(self):
568+
def test_SampleTimeGenerator_EndPointMoreThanHalfStepSize(self):
569569
# Check that the sequence includes the end-point when it's
570570
# distance from the previous point is more than half the
571571
# step-size. This is required for collision-checking
@@ -581,7 +581,7 @@ def test_SampleTimeGenerator_(self):
581581
decimal=7, err_msg=error, \
582582
verbose=True)
583583

584-
def test_SampleTimeGenerator_(self):
584+
def test_SampleTimeGenerator_EndPointLessThanHalfStepSize(self):
585585
# Check that the end-point is excluded when it's less than
586586
# half the step-size from the previous value.
587587
expected_sequence = [0.0, 2.0, 4.0]

0 commit comments

Comments
 (0)