fix(tests): Correct windows tests to run on python <3.6

This commit is contained in:
Andrew Senetar 2022-07-26 22:51:16 -05:00
parent 4b9bc4bc31
commit 0ef9b3294a
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1
1 changed files with 2 additions and 2 deletions

View File

@ -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)