Skip to content

Commit

Permalink
fix(tests): Correct windows tests to run on python <3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenetar committed Jul 27, 2022
1 parent 4b9bc4b commit 0ef9b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_plat_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ def test_trash_nothing_legacy():
try:
s2t_legacy([])
except Exception as ex:
assert False, f"Exception thrown when trashing nothing: {ex}"
assert False, "Exception thrown when trashing nothing: {}".format(ex)


def test_trash_nothing_modern():
try:
s2t_modern([])
except Exception as ex:
assert False, f"Exception thrown when trashing nothing: {ex}"
assert False, "Exception thrown when trashing nothing: {}".format(ex)

0 comments on commit 0ef9b32

Please sign in to comment.