summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 26064117..dba888dd 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -91,7 +91,7 @@ def test_quickstart_defaults(tempdir):
conffile = tempdir / 'conf.py'
assert conffile.isfile()
ns = {}
- f = open(conffile, 'U')
+ f = open(conffile, 'rbU')
try:
code = compile(f.read(), conffile, 'exec')
finally:
@@ -151,7 +151,7 @@ def test_quickstart_all_answers(tempdir):
conffile = tempdir / 'source' / 'conf.py'
assert conffile.isfile()
ns = {}
- f = open(conffile, 'U')
+ f = open(conffile, 'rbU')
try:
code = compile(f.read(), conffile, 'exec')
finally: