Skip to content

Commit

Permalink
fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 22, 2021
1 parent ef0d891 commit 760c861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodsp/tests/plts/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def example_plot():
# Test giving additional save kwargs
example_plot(file_path=TEST_PLOTS_PATH, file_name='test_savefig3.pdf',
save_kwargs={'facecolor' : 'red'})
assert os.path.exists(os.path.join(TEST_PLOTS_PATH,, 'test_savefig3.pdf'))
assert os.path.exists(os.path.join(TEST_PLOTS_PATH, 'test_savefig3.pdf'))

# Test does not save when `save_fig` set to False
example_plot(save_fig=False, file_path=TEST_PLOTS_PATH, file_name='test_savefig_nope.pdf')
Expand Down

0 comments on commit 760c861

Please sign in to comment.