Skip to content

Commit f6cf47d

Browse files
committed
Change stdout codec to utf-8 for h2spec
1 parent ddee8db commit f6cf47d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/gold_tests/h2/h2spec.test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
# See the License for the specific language governing permissions and
1818
# limitations under the License.
1919

20+
import sys
21+
import io
22+
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
23+
2024
Test.Summary = '''
2125
Test HTTP/2 with httpspec
2226
'''

0 commit comments

Comments
 (0)