Browse Source

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

master
Andrew Senetar 8 months ago
parent
commit
0ef9b3294a
Signed by: arsenetar
GPG Key ID: C63300DCE48AB2F1
  1. 4
      tests/test_plat_win.py

4
tests/test_plat_win.py

@ -210,11 +210,11 @@ def test_trash_nothing_legacy(): @@ -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)

Loading…
Cancel
Save