mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-01-22 14:41:40 +00:00
fix(tests): Correct windows tests to run on python <3.6
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user