From 6b210dbbf4c0709701805c422e377ac5fd0c0626 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Wed, 11 Oct 2023 11:18:16 +0200 Subject: [PATCH] TST: add test for failing importlib under macOS --- tests/requirements.txt | 1 + tests/test_object.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/tests/requirements.txt b/tests/requirements.txt index 505aa6c..0f7041b 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,3 +1,4 @@ +audb parse pytest<7.0.0 pytest-doctestplus diff --git a/tests/test_object.py b/tests/test_object.py index e81b27d..052fa93 100644 --- a/tests/test_object.py +++ b/tests/test_object.py @@ -3,6 +3,7 @@ import pytest import yaml +import audb import audeer import audobject import audobject.core.utils as utils @@ -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')