test with BaseException
This commit is contained in:
@@ -606,7 +606,7 @@ def ewmovingaverage(interval, window_size):
|
||||
# Custom error class - to raise a NoTokenError
|
||||
|
||||
|
||||
class NoTokenError(Exception):
|
||||
class NoTokenError(BaseException):
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user