Skip to content

Commit 7b31f63

Browse files
authored
Merge pull request #1016 from Textualize/python311
Add Python 3.11 to CI, update install-poetry action
2 parents dcf1784 + 8f888e7 commit 7b31f63

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macos-latest, windows-latest]
11-
python-version: ["3.7", "3.8", "3.9", "3.10"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1212
defaults:
1313
run:
1414
shell: bash
@@ -20,7 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
architecture: x64
2222
- name: Install and configure Poetry
23-
uses: snok/install-poetry@v1.1.6
23+
uses: snok/install-poetry@v1.3.3
2424
with:
2525
version: 1.2.2
2626
virtualenvs-in-project: true

src/textual/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ async def press_keys() -> None:
642642
await asyncio.sleep(0.02)
643643

644644
await app._animator.wait_for_idle()
645+
await asyncio.sleep(0.05)
645646

646647
if screenshot:
647648
self._screenshot = self.export_screenshot(

0 commit comments

Comments
 (0)