Commit 43596677 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fix

parent 9fac2f53
......@@ -31,5 +31,6 @@ def test_reraise_error():
... else: print("FAILED")
"""
import sys
sys.exc_clear()
if hasattr(sys, 'exc_clear'): # Py2
sys.exc_clear()
raise
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment