Error logging and mutables as function defaults (#930)
* Remove mutable iterables as function defaults * Improve error reporting and standardise how it's done
This commit is contained in:
committed by
GitHub
parent
67d2e266fd
commit
00eea24e3f
+2
-2
@@ -113,8 +113,8 @@ class MockApp:
|
||||
# =========================================================================== #
|
||||
|
||||
def causeOSError(*args, **kwargs):
|
||||
raise OSError("OSError")
|
||||
raise OSError("Mock OSError")
|
||||
|
||||
|
||||
def causeException(*args, **kwargs):
|
||||
raise Exception("Exception")
|
||||
raise Exception("Mock Exception")
|
||||
|
||||
Reference in New Issue
Block a user