From 1b1a0a104d0eb38d4eb2194e89a5e1aefe6504f7 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Tue, 25 Feb 2025 10:31:08 +0100 Subject: [PATCH] Don't test on pypy, add more gc.collect() --- .github/workflows/ci.yml | 3 --- tests/test_kernelapp.py | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4a30374..a4620470 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,9 +23,6 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.11", "3.12", "3.13"] - include: - - os: ubuntu-latest - python-version: "pypy-3.11" steps: - name: Checkout uses: actions/checkout@v4 diff --git a/tests/test_kernelapp.py b/tests/test_kernelapp.py index 29ff4e89..709a2db1 100644 --- a/tests/test_kernelapp.py +++ b/tests/test_kernelapp.py @@ -1,3 +1,4 @@ +import gc import json import os import threading @@ -30,6 +31,7 @@ def test_blackhole(): def test_start_app(): + gc.collect() app = IPKernelApp() app.kernel = MockKernel()