diff options
author | Théo de la Hogue | 2022-12-09 12:37:52 +0100 |
---|---|---|
committer | Théo de la Hogue | 2022-12-09 12:37:52 +0100 |
commit | 3427e57ec6fffd30bc4acf403db23fa8722fc45a (patch) | |
tree | d5c5392b4389310687cd501732e02d0b6d03fd4a /src/argaze.test/DataStructures.py | |
parent | 7521e92b03c80c15152f0985ffc1e3af057329a9 (diff) | |
download | argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.zip argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.gz argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.bz2 argaze-3427e57ec6fffd30bc4acf403db23fa8722fc45a.tar.xz |
Renaming a variable.
Diffstat (limited to 'src/argaze.test/DataStructures.py')
-rw-r--r-- | src/argaze.test/DataStructures.py | 4 |
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")) |