diff test/test_locking.py @ 6569:3ae0c0fb2d08

Fix test_new_file_via_rest This test was failing under python2. The cgi.py module was calling readline(1<<16). I was using the wasgiref/validate.py validator to make sure the wsgi protocol was correct. The validator replaces the normal readline with it's own wrapper. The wrapper doesn't support the max bytes to read value. The same module/wrapper in python 3 fixed this bug. So fixed this by disabling the validator under python2. Keeping it on python3 so we get its benefit.
author John Rouillard <rouilj@ieee.org>
date Tue, 21 Dec 2021 02:28:25 -0500
parents 35ea9b1efc14
children fed0f839c260
line wrap: on
line diff

Roundup Issue Tracker: http://roundup-tracker.org/