diff options
| author | Tim Peters <tim.peters@gmail.com> | 2002-10-07 01:20:52 +0000 |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2002-10-07 01:20:52 +0000 |
| commit | cec12549862eb62923ea0641c835064a67c378f0 (patch) | |
| tree | f0193d2bc1367f99c21e329bb031b9b50d8d3780 /Lib/test | |
| parent | e40add41ccfb6560756051f79339286cd84180bb (diff) | |
| download | cpython-git-cec12549862eb62923ea0641c835064a67c378f0.tar.gz | |
This has no hope of working under -O. Skip it then instead of failing.
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_trace.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_trace.py b/Lib/test/test_trace.py index d61be82880..48d9240118 100644 --- a/Lib/test/test_trace.py +++ b/Lib/test/test_trace.py @@ -5,6 +5,9 @@ import unittest 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 |
