Skip to content

Finish unit tests and use uv#6

Merged
gongcastro merged 14 commits into
mainfrom
test
Jun 13, 2025
Merged

Finish unit tests and use uv#6
gongcastro merged 14 commits into
mainfrom
test

Conversation

@gongcastro

Copy link
Copy Markdown
Collaborator

No description provided.

@gongcastro gongcastro self-assigned this Jun 13, 2025
@gongcastro gongcastro added the enhancement New feature or request label Jun 13, 2025
Comment thread tests/test_validations.py
with pytest.raises(ValueError):
mbrola.validate_durations(PHON, durations=[100])

with pytest.raises(TypeError):

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As by now, validate_durations does not raise a TypeError when durations are of type bool (since they are considered a subtype of int), but excludes floats.

@gongcastro gongcastro merged commit 0b1492a into main Jun 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant