Fix Markdown unit tests on Python 3.

Review Request #11767 — Created Aug. 1, 2021 and submitted

chipx86
Review Board
release-4.0.x
reviewboard

Djblets's render_markdown_from_file() was broken on Python 3, due to
some bad expectations on string types on a stream. Our unit tests for
our wrapper, introduced in release-3.0.x, were likewise using wrong
string types.

This change fixes up the unit tests to feed in byte string data instead
of Unicode text for the test.

Unit tests pass on Python 2 and 3.

Summary
Fix Markdown unit tests on Python 3.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.0.x (1a57a3b)
Loading...