aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze.test/DataStructures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/DataStructures.py b/src/argaze.test/DataStructures.py
index 1d34740..43f460e 100644
--- a/src/argaze.test/DataStructures.py
+++ b/src/argaze.test/DataStructures.py
@@ -180,9 +180,9 @@ class TestTimeStampedBufferClass(unittest.TestCase):
ts_buffer = DataStructures.TimeStampedBuffer({0: "A", 1: "B", 2: "C", 3: "D"})
# Check pop until an existing timestamp
- first_until_2 = ts_buffer.pop_last_before(2)
+ last_before_2 = ts_buffer.pop_last_before(2)
- self.assertEqual(first_until_2, (1, "B"))
+ self.assertEqual(last_before_2, (1, "B"))
self.assertEqual(len(ts_buffer), 2)
self.assertEqual(ts_buffer.first, (2, "C"))