From 0ef9b3294ac4f68fdb5fff0a599fa734348286de Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Tue, 26 Jul 2022 22:51:16 -0500 Subject: [PATCH] fix(tests): Correct windows tests to run on python <3.6 --- tests/test_plat_win.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plat_win.py b/tests/test_plat_win.py index 96492f4..bf77437 100644 --- a/tests/test_plat_win.py +++ b/tests/test_plat_win.py @@ -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)