Commit 75f71584 authored by Damien George's avatar Damien George
Browse files

tests: Remove unimplemented exceptions from testing.

parent 6e54fcfd
...@@ -28,15 +28,15 @@ try: ...@@ -28,15 +28,15 @@ try:
except AttributeError: except AttributeError:
print("Caught AttributeError") print("Caught AttributeError")
try: #try:
raise BufferError # raise BufferError
except Exception: #except Exception:
print("Caught BufferError via Exception") # print("Caught BufferError via Exception")
try: #try:
raise BufferError # raise BufferError
except BufferError: #except BufferError:
print("Caught BufferError") # print("Caught BufferError")
#try: #try:
# raise BytesWarning # raise BytesWarning
...@@ -88,15 +88,15 @@ try: ...@@ -88,15 +88,15 @@ try:
except Exception: except Exception:
print("Caught Exception") print("Caught Exception")
try: #try:
raise FloatingPointError # raise FloatingPointError
except ArithmeticError: #except ArithmeticError:
print("Caught FloatingPointError via ArithmeticError") # print("Caught FloatingPointError via ArithmeticError")
try: #try:
raise FloatingPointError # raise FloatingPointError
except FloatingPointError: #except FloatingPointError:
print("Caught FloatingPointError") # print("Caught FloatingPointError")
#try: #try:
# raise FutureWarning # raise FutureWarning
...@@ -328,15 +328,15 @@ try: ...@@ -328,15 +328,15 @@ try:
except TypeError: except TypeError:
print("Caught TypeError") print("Caught TypeError")
try: #try:
raise UnboundLocalError # raise UnboundLocalError
except NameError: #except NameError:
print("Caught UnboundLocalError via NameError") # print("Caught UnboundLocalError via NameError")
try: #try:
raise UnboundLocalError # raise UnboundLocalError
except UnboundLocalError: #except UnboundLocalError:
print("Caught UnboundLocalError") # print("Caught UnboundLocalError")
#try: #try:
# raise UserWarning # raise UserWarning
......
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