]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Implement random_choices for Python 2
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Dec 2019 17:49:13 +0000 (12:49 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 20 Dec 2019 17:49:13 +0000 (12:49 -0500)
commitc54b27ab123a4bf29ba7bc76924e188e2bc88e9f
treefa2cb4af6c8783f169a2925c510dbc4dd0de986f
parente6afc0a8cf7a8fb18855cab9da488a0d48c42386
Implement random_choices for Python 2

Apparently py2k has no random.choices, so make a quick
one for the tests that use it.

Change-Id: Iadc3442b35f400b5bab0f711b7d3ede5dbc28f52
lib/sqlalchemy/testing/util.py
test/sql/test_compare.py