Closed ChristianGeng closed 4 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
pip install audeer --upgrade
``` 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 ```
This was added already to tests/requirements.txt in https://github.com/audeering/audbcards/pull/45.
tests/requirements.txt
Obsolete. Closing.
Tests failing with audeer 1.20
Errors fixed after running
pip install audeer --upgrade
that effectively installed 1.21Long 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
```