summaryrefslogtreecommitdiff
path: root/tests/test_scripting.py
Commit message (Collapse)AuthorAgeFilesLines
* Pre 6.2 redis should default to None for script flush (#1641)Chayim2021-10-251-0/+4
|
* Support for SCRIPT FLUSH with SYNC/ASYNC (#1567)Chayim2021-09-011-0/+18
| | | Part of #1546
* Remove support for end-of-life Python 2.7 (#1318)Jon Dufresne2020-08-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove support for end-of-life Python 2.7 Python 2.7 is end of life. It is no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards a modern Python 3 style. Python 2.7 users can continue to use the previous version of redis-py. Was able to simplify the code: - Removed redis._compat module - Removed __future__ imports - Removed object from class definition (all classes are new style) - Removed long (Python 3 unified numeric types) - Removed deprecated __nonzero__ method - Use simpler Python 3 super() syntax - Use unified OSError exception - Use yield from syntax Co-authored-by: Andy McCurdy <andy@andymccurdy.com>
* Use unicode literals throughout projectJon Dufresne2018-11-031-3/+3
| | | | Remove workaround for handling unicode with older Pythons.
* Remove from __future__ import with_statementJon Dufresne2018-11-031-1/+0
| | | | All supported Python versions support the with statement.
* Fix icnorrect testBen Greenberg2017-06-151-1/+2
|
* update tests to reflect the fact that the script sha is precalculatedBen Greenberg2017-06-151-13/+18
|
* pep8 fixHendrik Muhs2014-12-041-0/+1
|
* fix pep8Hendrik Muhs2014-12-041-4/+5
|
* UnicodeDecodeErrorfix unicode encode error when using pipeline in ↵Hendrik Muhs2014-12-041-0/+31
| | | | combination with msgpack and lua
* fix scripting tests on python3Andy McCurdy2014-04-101-2/+3
|
* Make sure we know the SHA of scripts before pipeline execution. Fixes #459Andy McCurdy2014-04-091-0/+81