From 3e1ffc597f90bf278cd662826d19f0a219630ebe Mon Sep 17 00:00:00 2001 From: "Haoyu (Daniel)" Date: Fri, 20 Dec 2024 13:05:45 +0800 Subject: [PATCH] fix test workflow otherwise cannot run --- .github/workflows/test.yml | 4 ++-- tests/test_io.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31062030c..1df293f3a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python }} + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python }} + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | diff --git a/tests/test_io.py b/tests/test_io.py index f4422bf2a..5f3f78c13 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -9,7 +9,6 @@ import pytest from monty.io import ( - EncodingWarning, FileLock, FileLockException, _get_line_ending,