Diff of /examples/web_framework/web_framework.tst [727d4a] .. [efe1d1]  Maximize  Restore

Switch to side-by-side view

--- a/examples/web_framework/web_framework.tst
+++ b/examples/web_framework/web_framework.tst
@@ -14,10 +14,11 @@
     ...                           close_fds=True, env=os.environ)
     >>> server.stdin.write(br'''
     ... import sys
+    ... sys.path.insert(0, %r)
     ... from examples.web_framework import simple_server
     ... simple_server.run()
-    ... ''')
-    81
+    ... ''' % sys.path[0])
+    103
     >>> server.stdin.close()
     >>> def readline():
     ...     global server_error_msg