summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/exceptpoly.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/exceptpoly.py')
-rw-r--r--tests/basics/exceptpoly.py48
1 files changed, 24 insertions, 24 deletions
diff --git a/tests/basics/exceptpoly.py b/tests/basics/exceptpoly.py
index b2fc11afbe..599a72b2a2 100644
--- a/tests/basics/exceptpoly.py
+++ b/tests/basics/exceptpoly.py
@@ -28,15 +28,15 @@ try:
except AttributeError:
print("Caught AttributeError")
-try:
- raise BufferError
-except Exception:
- print("Caught BufferError via Exception")
+#try:
+# raise BufferError
+#except Exception:
+# print("Caught BufferError via Exception")
-try:
- raise BufferError
-except BufferError:
- print("Caught BufferError")
+#try:
+# raise BufferError
+#except BufferError:
+# print("Caught BufferError")
#try:
# raise BytesWarning
@@ -88,15 +88,15 @@ try:
except Exception:
print("Caught Exception")
-try:
- raise FloatingPointError
-except ArithmeticError:
- print("Caught FloatingPointError via ArithmeticError")
+#try:
+# raise FloatingPointError
+#except ArithmeticError:
+# print("Caught FloatingPointError via ArithmeticError")
-try:
- raise FloatingPointError
-except FloatingPointError:
- print("Caught FloatingPointError")
+#try:
+# raise FloatingPointError
+#except FloatingPointError:
+# print("Caught FloatingPointError")
#try:
# raise FutureWarning
@@ -328,15 +328,15 @@ try:
except TypeError:
print("Caught TypeError")
-try:
- raise UnboundLocalError
-except NameError:
- print("Caught UnboundLocalError via NameError")
+#try:
+# raise UnboundLocalError
+#except NameError:
+# print("Caught UnboundLocalError via NameError")
-try:
- raise UnboundLocalError
-except UnboundLocalError:
- print("Caught UnboundLocalError")
+#try:
+# raise UnboundLocalError
+#except UnboundLocalError:
+# print("Caught UnboundLocalError")
#try:
# raise UserWarning