Skip to content

Commit 2bf0c6f

Browse files
committed
Invoke garbage collector, drop python 3.9 and 3.10
1 parent cf8144a commit 2bf0c6f

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,10 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, windows-latest, macos-latest]
25-
python-version: ["3.9", "3.13"]
25+
python-version: ["3.11", "3.12", "3.13"]
2626
include:
2727
- os: ubuntu-latest
28-
python-version: "pypy-3.9"
29-
- os: macos-latest
30-
python-version: "3.10"
31-
- os: ubuntu-latest
32-
python-version: "3.11"
33-
- os: ubuntu-latest
34-
python-version: "3.12"
28+
python-version: "pypy-3.11"
3529
steps:
3630
- name: Checkout
3731
uses: actions/checkout@v4

tests/test_kernel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Distributed under the terms of the Modified BSD License.
55

66
import ast
7+
import gc
78
import os.path
89
import platform
910
import signal
@@ -601,6 +602,7 @@ def test_control_thread_priority():
601602

602603

603604
def test_sequential_control_messages():
605+
gc.collect()
604606
with new_kernel() as kc:
605607
msg_id = kc.execute("import time")
606608
get_reply(kc, msg_id)

0 commit comments

Comments
 (0)