sanic/sanic
L. Kärkkäinen 48800e657f
Deprecation and test cleanup (#1818)
* Remove remove_route, deprecated in 19.6.

* No need for py35 compat anymore.

* Rewrite asyncio.coroutines with async/await.

* Remove deprecated request.raw_args.

* response.text() takes str only: avoid deprecation warning in all but one test.

* Remove unused import.

* Revert unnecessary deprecation warning.

* Remove apparently unnecessary py38 compat.

* Avoid asyncio.Task.all_tasks deprecation warning.

* Avoid warning on a test that tests deprecated response.text(int).

* Add pytest-asyncio to tox deps.

* Run the coroutine returned by AsyncioServer.close.

Co-authored-by: L. Kärkkäinen <tronic@users.noreply.github.com>
2020-03-28 11:43:14 -07:00
..
__init__.py fix: #1631: linter fix and tox platform selector 2019-07-13 21:48:26 +05:30
__main__.py Add a type checking pipeline (#1682) 2019-09-22 13:55:36 -07:00
__version__.py Py38 tox env (#1752) 2020-02-05 13:17:55 -06:00
app.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
asgi.py Swap out requests-async for httpx (#1728) 2019-12-20 19:23:52 -08:00
blueprint_group.py Add a type checking pipeline (#1682) 2019-09-22 13:55:36 -07:00
blueprints.py GIT-37: fix blueprint middleware application (#1690) 2019-12-20 10:01:04 -06:00
compat.py Fix Ctrl+C and tests on Windows. (#1808) 2020-03-25 21:42:46 -07:00
config.py Update config docs to match DEFAULT_CONFIG (#1803) 2020-03-14 08:57:39 -07:00
constants.py run black against sanic module 2018-10-13 17:55:33 -07:00
cookies.py HTTP1 header formatting moved to headers.format_headers and rewritten. (#1669) 2019-12-23 17:30:45 -06:00
errorpages.py No tracebacks on normal errors and prettier error pages (#1768) 2020-01-20 08:58:14 -06:00
exceptions.py No tracebacks on normal errors and prettier error pages (#1768) 2020-01-20 08:58:14 -06:00
handlers.py No tracebacks on normal errors and prettier error pages (#1768) 2020-01-20 08:58:14 -06:00
headers.py More robust response datatype handling (#1674) 2020-01-20 10:34:32 -06:00
helpers.py Update helpers.py (#1693) 2019-10-08 16:29:03 -07:00
log.py fix the logger and make it work (#1397) 2018-11-06 08:39:38 -06:00
reloader_helpers.py Fix the auto_reloader to work when the executable was launched with a module, rather than a script. (#1501) 2019-03-03 11:03:26 -06:00
request.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
response.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
router.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
server.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
static.py [Trio] Quick fixes to make Sanic usable on hypercorn -k trio myweb.app (#1767) 2020-01-20 10:29:06 -06:00
testing.py Fix Ctrl+C and tests on Windows. (#1808) 2020-03-25 21:42:46 -07:00
views.py Add a type checking pipeline (#1682) 2019-09-22 13:55:36 -07:00
websocket.py Support websockets 8.x as well as 7.x (#1687) 2019-10-01 23:03:09 -07:00
worker.py Add a type checking pipeline (#1682) 2019-09-22 13:55:36 -07:00