Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test_audio_load_numpy.py #108

Closed
wants to merge 1 commit into from
Closed

Update test_audio_load_numpy.py #108

wants to merge 1 commit into from

Conversation

Glatzel
Copy link
Owner

@Glatzel Glatzel commented Dec 13, 2024

No description provided.

Copy link

codecov bot commented Dec 13, 2024

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
53 2 51 0
View the top 2 failed tests by shortest run time
src.audio.test_audio_load_numpy::test_librosa[file1]
Stack Traces | 0.001s run time
benchmark = <pytest_benchmark.fixture.BenchmarkFixture object at 0x00000224574D2350>
file = WindowsPath('D:.../external/dataset-audio/two channel/ff-16b-2c-44100hz.wav')

    def test_librosa(benchmark, file):
        def foo():
            librosa.load(file, mono=False, sr=Noe)
    
        benchmark.group = group + file.name
        benchmark.name = "librosa"
>       benchmark(foo)

src\audio\test_audio_load_numpy.py:49: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:156: in __call__
    return self._raw(function_to_benchmark, *args, **kwargs)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:180: in _raw
    duration, iterations, loops_range = self._calibrate_timer(runner)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:318: in _calibrate_timer
    duration = runner(loops_range)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:109: in runner
    function_to_benchmark(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def foo():
>       librosa.load(file, mono=False, sr=Noe)
E       NameError: name 'Noe' is not defined

src\audio\test_audio_load_numpy.py:45: NameError
src.audio.test_audio_load_numpy::test_librosa[file0]
Stack Traces | 0.002s run time
benchmark = <pytest_benchmark.fixture.BenchmarkFixture object at 0x0000022457515F50>
file = WindowsPath('D:.../external/dataset-audio/single channel/ff-16b-1c-44100hz.wav')

    def test_librosa(benchmark, file):
        def foo():
            librosa.load(file, mono=False, sr=Noe)
    
        benchmark.group = group + file.name
        benchmark.name = "librosa"
>       benchmark(foo)

src\audio\test_audio_load_numpy.py:49: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:156: in __call__
    return self._raw(function_to_benchmark, *args, **kwargs)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:180: in _raw
    duration, iterations, loops_range = self._calibrate_timer(runner)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:318: in _calibrate_timer
    duration = runner(loops_range)
.pixi\envs\audio\Lib\site-packages\pytest_benchmark\fixture.py:109: in runner
    function_to_benchmark(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

    def foo():
>       librosa.load(file, mono=False, sr=Noe)
E       NameError: name 'Noe' is not defined

src\audio\test_audio_load_numpy.py:45: NameError

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@Glatzel Glatzel closed this Dec 13, 2024
@Glatzel Glatzel deleted the Glatzel-patch-1 branch December 17, 2024 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant