diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-10-25 13:41:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 13:41:06 +0300 |
commit | 0ef4c0711693b4b313ce97261214bd151d8261d5 (patch) | |
tree | 58887c0873fca123f47066608bcc02ff761e8273 /tests/test_scripting.py | |
parent | 36e00ec4e22a9f947e099affdfdc79862ac7ca08 (diff) | |
download | redis-py-0ef4c0711693b4b313ce97261214bd151d8261d5.tar.gz |
Pre 6.2 redis should default to None for script flush (#1641)
Diffstat (limited to 'tests/test_scripting.py')
-rw-r--r-- | tests/test_scripting.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_scripting.py b/tests/test_scripting.py index cc67e26..c3c2094 100644 --- a/tests/test_scripting.py +++ b/tests/test_scripting.py @@ -43,6 +43,10 @@ class TestScripting: r.script_load(multiply_script) r.script_flush() + r.set('a', 2) + r.script_load(multiply_script) + r.script_flush(None) + with pytest.raises(exceptions.DataError): r.set('a', 2) r.script_load(multiply_script) |