Partial py3k-ification of Doc/library/: convert has_key references into either 'k in d' or __contains__; normalize raise statements; convert print statements into print function calls.
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
index 305c26f..1ba4810 100644
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -307,7 +307,7 @@
    Example use::
 
       with captured_stdout() as s:
-          print "hello"
+          print("hello")
       assert s.getvalue() == "hello"