Skip to content

Commit

Permalink
TST: add test for failing importlib under macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Oct 11, 2023
1 parent eb78caa commit 6b210db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
audb
parse
pytest<7.0.0
pytest-doctestplus
Expand Down
6 changes: 6 additions & 0 deletions tests/test_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pytest
import yaml

import audb
import audeer
import audobject
import audobject.core.utils as utils
Expand Down Expand Up @@ -605,3 +606,8 @@ def test_kwargs_object():

assert o == o2
assert o2.hide_arg is None


def test_audb_flavor():
flavor = audb.Flavor(sampling_rate=16000)
flavor.path('test', '1.0.0')

0 comments on commit 6b210db

Please sign in to comment.