##// END OF EJS Templates
py3: add b'' prefixes in tests/test-hgweb-non-interactive.t...
Pulkit Goyal -
r39694:c20861b6 default
parent child Browse files
Show More
@@ -65,7 +65,7 b' by the WSGI standard and strictly implem'
65 > 'SERVER_PROTOCOL': 'HTTP/1.0'
65 > 'SERVER_PROTOCOL': 'HTTP/1.0'
66 > }
66 > }
67 >
67 >
68 > i = hgweb('.')
68 > i = hgweb(b'.')
69 > for c in i(env, startrsp):
69 > for c in i(env, startrsp):
70 > pass
70 > pass
71 > print('---- ERRORS')
71 > print('---- ERRORS')
@@ -74,7 +74,7 b' by the WSGI standard and strictly implem'
74 > print(sorted([x for x in os.environ if x.startswith('wsgi')]))
74 > print(sorted([x for x in os.environ if x.startswith('wsgi')]))
75 > print('---- request.ENVIRON wsgi variables')
75 > print('---- request.ENVIRON wsgi variables')
76 > with i._obtainrepo() as repo:
76 > with i._obtainrepo() as repo:
77 > print(sorted([x for x in repo.ui.environ if x.startswith('wsgi')]))
77 > print(sorted([x for x in repo.ui.environ if x.startswith(b'wsgi')]))
78 > EOF
78 > EOF
79 $ $PYTHON request.py
79 $ $PYTHON request.py
80 ---- STATUS
80 ---- STATUS
General Comments 0
You need to be logged in to leave comments. Login now