Blame SOURCES/testtools-2.4.0-fix_py39_test.patch

76ff05
diff -ru testtools-2.4.0-orig/testtools/tests/test_testresult.py testtools-2.4.0/testtools/tests/test_testresult.py
76ff05
--- testtools-2.4.0-orig/testtools/tests/test_testresult.py	2019-11-28 00:58:29.000000000 -0800
76ff05
+++ testtools-2.4.0/testtools/tests/test_testresult.py	2020-05-16 13:40:50.141580104 -0700
76ff05
@@ -2755,6 +2755,9 @@
76ff05
         textoutput = self._setup_external_case("import bad")
76ff05
         self._write_module("bad", "utf-8", _u("\ufeff^ = 0 # %s\n") % text)
76ff05
         textoutput = self._run_external_case()
76ff05
+        # Python 3.9 no longer prints the '\ufeff'
76ff05
+        if sys.version_info >= (3,9):
76ff05
+            textoutput = textoutput.replace('\ufeff', '')
76ff05
         self.assertThat(
76ff05
             textoutput,
76ff05
             MatchesRegex(