Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /examples/web_framework/web_framework.tst [efe1d1] .. [0176eb] Maximize Restore

  Switch to side-by-side view

--- a/examples/web_framework/web_framework.tst
+++ b/examples/web_framework/web_framework.tst
@@ -12,13 +12,13 @@
     ...                           stdout=subprocess.PIPE,
     ...                           stderr=subprocess.STDOUT,
     ...                           close_fds=True, env=os.environ)
-    >>> server.stdin.write(br'''
+    >>> server.stdin.write(('''
     ... import sys
     ... sys.path.insert(0, %r)
     ... from examples.web_framework import simple_server
     ... simple_server.run()
-    ... ''' % sys.path[0])
-    103
+    ... ''' % sys.path[0]).encode()) > 110
+    True
     >>> server.stdin.close()
     >>> def readline():
     ...     global server_error_msg