Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python: ['3.11', '3.13']
python: ['3.11', '3.13', '3.14']
include:
# Keep the documented minimum runtime covered, despite its EOL status.
- os: ubuntu-24.04
python: '3.9'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
Expand Down
4 changes: 3 additions & 1 deletion tests/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
from iterm2_harness.state import Actions, EventLog, Observations


class StateTests(unittest.TestCase):
class StateTests(unittest.IsolatedAsyncioTestCase):
# Python 3.9 binds asyncio.Event to the current loop at construction.
# Isolate the loop so preceding async test classes cannot leave it unset.
def test_event_epoch_and_overflow_require_resync(self):
log = EventLog(capacity=2, epoch='new')
for _ in range(3): log.publish('event')
Expand Down
Loading