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)