Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Adjust comment
  • Loading branch information
Erlend E. Aasland committed Nov 2, 2021
commit 22adb063987f7ec9412f7d0d3e7efe873cf63345
3 changes: 1 addition & 2 deletions Lib/test/test_sqlite3/test_dbapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ def memory_database():
return contextlib.closing(cx)


# Temporarily limits the maximum size of any string or BLOB or table row, in
# bytes.
# Temporarily limit a database connection parameter
@contextlib.contextmanager
def cx_limit(cx, category=sqlite.SQLITE_LIMIT_LENGTH, limit=128):
try:
Expand Down