audeering / audbcards

Data cards for audio datasets
https://audeering.github.io/audbcards/
Other
0 stars 0 forks source link

Tests require audeer >=1.21 #49

Closed ChristianGeng closed 4 months ago

ChristianGeng commented 6 months ago

Tests failing with audeer 1.20

>       dataset_cache = audeer.mkdir(tmpdir, 'cache')                                                                                                                                                                                                                                                                                                                         
E       TypeError: mkdir() takes 1 positional argument but 2 were given   

Errors fixed after running pip install audeer --upgrade that effectively installed 1.21

Long Trace:

``` description: Medium database. source: https://github.com/audeering/audbcards usage: unrestricted langu...: 1.0.0 flavor: {bit_depth: null, channels: null, format: null, mixdown: false, sampling_rate: null} complete: true, request = > @pytest.mark.parametrize( 'db', [ 'medium_db', ], ) def test_dataset(audb_cache, tmpdir, repository, db, request): r"""Test audbcards.Dataset object and all its properties.""" db = request.getfixturevalue(db) > dataset_cache = audeer.mkdir(tmpdir, 'cache') E TypeError: mkdir() takes 1 positional argument but 2 were given ```

hagenw commented 6 months ago

This was added already to tests/requirements.txt in https://github.com/audeering/audbcards/pull/45.

ChristianGeng commented 4 months ago

Obsolete. Closing.