()
| 3377 | |
| 3378 | |
| 3379 | async def test_invalid_idna() -> None: |
| 3380 | session = aiohttp.ClientSession() |
| 3381 | try: |
| 3382 | with pytest.raises(aiohttp.InvalidURL): |
| 3383 | await session.get("http://\u0080owhefopw.com") |
| 3384 | finally: |
| 3385 | await session.close() |
| 3386 | |
| 3387 | |
| 3388 | async def test_creds_in_auth_and_url() -> None: |