comparison test/test_actions.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 37b57da3374f
children 8269e89530e5
comparison
equal deleted inserted replaced
6568:59eebe55ca1d 6569:3ae0c0fb2d08

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