(warning)
| 573 | |
| 574 | |
| 575 | def test_start_twice(warning): |
| 576 | req = make_request('GET', '/') |
| 577 | resp = StreamResponse() |
| 578 | |
| 579 | with warning(DeprecationWarning): |
| 580 | impl1 = resp.start(req) |
| 581 | impl2 = resp.start(req) |
| 582 | assert impl1 is impl2 |
| 583 | |
| 584 | |
| 585 | @pytest.mark.run_loop |
nothing calls this directly
no test coverage detected