# DP: test_sundry: Don't fail on import of the profile and pstats module

Index: b/Lib/test/test_sundry.py
===================================================================
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -60,7 +60,11 @@ class TestUntestedModules(unittest.TestC
             import os2emxpath
             import pdb
             import posixfile
-            import pstats
+            try:
+                import pstats  # separated out into the python-profiler package
+            except ImportError:
+                if test_support.verbose:
+                    print "skipping profile and pstats"
             import py_compile
             import rexec
             import sched
