Skip to content

Commit dd6199c

Browse files
committed
Edit comments
1 parent 7b1c7f6 commit dd6199c

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ Output frame count may not be consistent. This is normal operation.
8383

8484
x86 and ARM processors are supported.
8585

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

8987
## Benchmark
9088

src/soxr/__init__.py

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
"""
2-
Python-SoXR
3-
https://github.com/dofuuz/python-soxr
1+
# Python-SoXR
2+
# https://github.com/dofuuz/python-soxr
43

5-
SPDX-FileCopyrightText: (c) 2021 Myungchul Keum
6-
SPDX-License-Identifier: LGPL-2.1-or-later
4+
# SPDX-FileCopyrightText: (c) 2021 Myungchul Keum
5+
# SPDX-License-Identifier: LGPL-2.1-or-later
76

8-
High quality, one-dimensional sample-rate conversion library for Python.
9-
Python-SoXR is a Python wrapper of libsoxr.
10-
"""
7+
# High quality, one-dimensional sample-rate conversion library for Python.
8+
# Python-SoXR is a Python wrapper of libsoxr.
119

1210
import numpy as np
1311
from numpy.typing import ArrayLike

tests/test_resample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_dtype(dtype):
3030
assert x.dtype == y.dtype
3131

3232

33-
@pytest.mark.xfail(raises=TypeError, strict=True)
33+
@pytest.mark.xfail(raises=(TypeError, ValueError), strict=True)
3434
@pytest.mark.parametrize('dtype', [np.complex64, np.complex128, np.int8, np.int64])
3535
def test_bad_dtype(dtype):
3636
x = np.zeros(100, dtype=dtype)

0 commit comments

Comments
 (0)