Skip to content

Commit

Permalink
- fix for file_dialog test
Browse files Browse the repository at this point in the history
  • Loading branch information
MyreMylar committed Apr 11, 2020
1 parent a9b88a4 commit 5852ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_windows/test_ui_file_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_press_delete_button_and_ok(self, _init_pygame, default_ui_manager,
file_dialog = UIFileDialog(rect=pygame.Rect(100, 100, 440, 500),
manager=default_ui_manager)

with open(Path('tests/data/for_delete.txt').absolute(), 'w') as file_to_delete:
with open(str(Path('tests/data/for_delete.txt')), 'w') as file_to_delete:
file_to_delete.write('Some text')

file_dialog.current_file_path = Path('tests/data/for_delete.txt').absolute()
Expand Down

0 comments on commit 5852ccd

Please sign in to comment.