Skip to content

Commit b35756a

Browse files
committed
fix logic, typos
1 parent 445d544 commit b35756a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install numpy from PyPI
3131
if: matrix.numpy-version != 'nightly'
3232
run: |
33-
pip install "numpy==${{ matrix.numpy-verson }}"
33+
pip install "numpy==${{ matrix.numpy-version }}"
3434
- name: Install asciidtype
3535
working-directory: asciidtype
3636
run: |

quaddtype/tests/test_quaddtype.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ def test_unsupported_astype(dtype):
7777
np.array(QuadPrecision(1)).astype(dtype, casting="unsafe")
7878

7979

80-
@pytest.mark.skip(np_major < 2 or (np_major == 2 and np_minor < 4))
80+
@pytest.mark.skipif(np_major < 2 or (np_major == 2 and np_minor < 4),
81+
reason="numpy version>2.4 required for test")
8182
def test_same_value_cast():
8283
a = np.arange(30, dtype=np.float32)
8384
# upcasting can never fail

0 commit comments

Comments
 (0)