Skip to content

Commit

Permalink
Use old blacklist_categories instead of exclude_categories for Py3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
thequilo committed Dec 8, 2023
1 parent f19e904 commit 6049589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_stm_load():

# Generate files
# The generated files don't contain comments since they cannot be reconstructed
filenames = st.text(st.characters(exclude_categories=['Z', 'C'], exclude_characters=';'), min_size=1) # (no space, no control char, no comment char)
speaker_ids = st.text(st.characters(exclude_categories=['Z', 'C']), min_size=1) # (no space, no control char)
filenames = st.text(st.characters(blacklist_categories=['Z', 'C'], blacklist_characters=';'), min_size=1) # (no space, no control char, no comment char)
speaker_ids = st.text(st.characters(blacklist_categories=['Z', 'C']), min_size=1) # (no space, no control char)
timestamps = st.decimals(allow_nan=False, allow_infinity=False)
durations = st.decimals(min_value=0, allow_nan=False, allow_infinity=False)
words = st.text(st.characters(exclude_categories=['C', 'Z']), min_size=1) # (no space, no control char)
Expand Down

0 comments on commit 6049589

Please sign in to comment.