summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-04-16 19:13:34 +0100
committerAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-04-16 19:30:45 +0100
commit26c5c40b50d696b2723aa2b20fb5037b7c04d855 (patch)
tree1d7eabdbdd8bbe42a15a28629dda0a8e8c11ebbd /Makefile
parent301c7bdf57eee47426c9ad4d96392bff623ee6c3 (diff)
downloadsphinx-git-26c5c40b50d696b2723aa2b20fb5037b7c04d855.tar.gz
Enable the opt-in EncodingWarning
https://docs.python.org/3/library/io.html#io-encoding-warning
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5ba113dc3..b430bdd1b 100644
--- a/Makefile
+++ b/Makefile
@@ -66,11 +66,11 @@ doclinter:
.PHONY: test
test:
- @$(PYTHON) -X dev -m pytest -v $(TEST)
+ @$(PYTHON) -X dev -X warn_default_encoding -m pytest -v $(TEST)
.PHONY: covertest
covertest:
- @$(PYTHON) -X dev -m pytest -v --cov=sphinx --junitxml=.junit.xml $(TEST)
+ @$(PYTHON) -X dev -X warn_default_encoding -m pytest -v --cov=sphinx --junitxml=.junit.xml $(TEST)
.PHONY: build
build: