From 7cd4c42a75a76c8928a7ff84e9d02094ab162535 Mon Sep 17 00:00:00 2001 From: Robert Clark Date: Sat, 14 Nov 2020 08:15:59 -0600 Subject: [PATCH] Encode FB player names in exhaustive tests Some player names fail to encode in the exhaustive Windows tests, causing the test to fail. Forcing UTF-8 encoding allows the tests to continue as expected. Signed-Off-By: Robert Clark --- tests/exhaustive/fb_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/exhaustive/fb_tests.py b/tests/exhaustive/fb_tests.py index 8abd7a09..5f5e48a0 100644 --- a/tests/exhaustive/fb_tests.py +++ b/tests/exhaustive/fb_tests.py @@ -9,4 +9,4 @@ for game in squad.schedule: print(game.date) for player in squad.roster: - print(player.name) + print(player.name.encode('utf-8'))