Skip to content

Commit

Permalink
fix : error_test.py updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Aug 19, 2024
1 parent 77ababb commit bb377fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/error_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
... sound_id = play(test_sound_path, async_mode=True, engine=Engine.WINSOUND)
... else:
... sound_id = play(test_sound_path, async_mode=True, engine=Engine.WINSOUND)
>>> import nava
>>> time.sleep(2)
>>> nava.params._play_threads_map[sound_id]._nava_exception
Sound can not play due to some issues.
>>> import nava
'Sound can not play due to some issues.'
>>> nava.functions.play_cli("test2.wav")
Error: Given sound file doesn't exist.
>>> nava.params._play_threads_map = dict()
Expand Down

0 comments on commit bb377fb

Please sign in to comment.