Skip to content

Commit

Permalink
Edit comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dofuuz committed Jul 27, 2024
1 parent 7b1c7f6 commit dd6199c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ Output frame count may not be consistent. This is normal operation.

x86 and ARM processors are supported.

Neon extension is required for ARM CPUs. Without Neon, it may crash or return inaccurate result.


## Benchmark

Expand Down
14 changes: 6 additions & 8 deletions src/soxr/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
"""
Python-SoXR
https://github.com/dofuuz/python-soxr
# Python-SoXR
# https://github.com/dofuuz/python-soxr

SPDX-FileCopyrightText: (c) 2021 Myungchul Keum
SPDX-License-Identifier: LGPL-2.1-or-later
# SPDX-FileCopyrightText: (c) 2021 Myungchul Keum
# SPDX-License-Identifier: LGPL-2.1-or-later

High quality, one-dimensional sample-rate conversion library for Python.
Python-SoXR is a Python wrapper of libsoxr.
"""
# High quality, one-dimensional sample-rate conversion library for Python.
# Python-SoXR is a Python wrapper of libsoxr.

import numpy as np
from numpy.typing import ArrayLike
Expand Down
2 changes: 1 addition & 1 deletion tests/test_resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_dtype(dtype):
assert x.dtype == y.dtype


@pytest.mark.xfail(raises=TypeError, strict=True)
@pytest.mark.xfail(raises=(TypeError, ValueError), strict=True)
@pytest.mark.parametrize('dtype', [np.complex64, np.complex128, np.int8, np.int64])
def test_bad_dtype(dtype):
x = np.zeros(100, dtype=dtype)
Expand Down

0 comments on commit dd6199c

Please sign in to comment.