Commits

Anonymous committed b98f85d

This has no hope of working under -O. Skip it then instead of failing.

  • Participants
  • Parent commits a0005d2
  • Branches 2.2

Comments (0)

Files changed (1)

File Lib/test/test_trace.py

 import sys
 import difflib
 
+if not __debug__:
+    raise test_support.TestSkipped, "tracing not supported under -O"
+
 # A very basic example.  If this fails, we're in deep trouble.
 def basic():
     return 1