docs(python): fixed broken snippet in assertions.md

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
David Murdoch 2021-06-23 09:17:50 +01:00 committed by GitHub
parent 99bbc51760
commit 708fde8f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,12 +83,12 @@ assertEquals("Text", alt);
```
```python async
checked = await page.get_attribute("input", "alt")
alt = await page.get_attribute("input", "alt")
assert alt == "Text"
```
```python sync
checked = page.get_attribute("input", "alt")
alt = page.get_attribute("input", "alt")
assert alt == "Text"
```