mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-16 11:18:05 +08:00
BUG: Remove set_trace and add test coverage.
This commit is contained in:
@@ -434,7 +434,6 @@ class TradingDayOfWeekRule(six.with_metaclass(ABCMeta, StatelessRule)):
|
||||
@preprocess(n=lossless_float_to_int('TradingDayOfWeekRule'))
|
||||
def __init__(self, n, invert):
|
||||
if not 0 <= n < MAX_WEEK_RANGE:
|
||||
import nose.tools; nose.tools.set_trace()
|
||||
raise _out_of_range_error(MAX_WEEK_RANGE)
|
||||
|
||||
self.td_delta = (-n - 1) if invert else n
|
||||
|
||||
Reference in New Issue
Block a user