👷 ALLOW_UNICODE and custom pretty printer in doctests

We could also have set ALLOW_UNICODE globally, but this way we might
catch situations where we definitely do not expect mixed results between
py2 and py3.
This commit is contained in:
Gina Häußge committed 2019-02-21 15:29:20 +01:00
1 parent 8080e65366
commit 02566ae9d0
11 files changed
+129 -103

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
[pytest]
testpaths = src tests
addopts = --doctest-modules
--doctest-repr=octoprint.util:pp