test with BaseException
This commit is contained in:
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -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