We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdebfda commit 26d4421Copy full SHA for 26d4421
key-value/key-value-aio/tests/stores/base.py
@@ -174,7 +174,7 @@ async def test_put_ttl_get_ttl(self, store: BaseStore):
174
175
assert value == {"test": "test"}
176
assert ttl is not None
177
- assert ttl == IsFloat(approx=100), f"TTL should be ~100, but is {ttl}"
+ assert ttl == IsFloat(approx=100, delta=2), f"TTL should be ~100, but is {ttl}"
178
179
async def test_negative_ttl(self, store: BaseStore):
180
"""Tests that a negative ttl will return None when getting the key."""
0 commit comments