aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2022-12-09 12:37:52 +0100
committerThéo de la Hogue2022-12-09 12:37:52 +0100
commit3427e57ec6fffd30bc4acf403db23fa8722fc45a (patch)
treed5c5392b4389310687cd501732e02d0b6d03fd4a /src
parent7521e92b03c80c15152f0985ffc1e3af057329a9 (diff)
downloadargaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.zip
argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.gz
argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.bz2
argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.xz
Renaming a variable.
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"))