Skip to content

Commit 16e2661

Browse files
committed
flake8 fixups
1 parent 79d539c commit 16e2661

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pandas/tests/tseries/test_offsets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def test_immutable(self):
181181
offset._inc = 'foo'
182182
if hasattr(offset, 'delta'):
183183
with pytest.raises(TypeError):
184-
offset.delta = 6*offset._inc
184+
offset.delta = 6 * offset._inc
185185

186186

187187
class TestCommon(Base):

pandas/tseries/offsets.py

+2
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ class CacheableOffset(object):
140140
'hour', 'minute', 'second', 'microsecond'
141141
)
142142

143+
143144
def _determine_offset(kwds):
144145
# timedelta is used for sub-daily plural offsets and all singular
145146
# offsets relativedelta is used for plural offsets of daily length or
@@ -621,6 +622,7 @@ def __setstate__(self, state):
621622
# default for prior pickles
622623
self.normalize = False
623624

625+
624626
class BusinessDay(BusinessMixin, SingleConstructorOffset):
625627
"""
626628
DateOffset subclass representing possibly n business days

0 commit comments

Comments
 (0)