Skip to content

TST/CLN: Remove legacy instances of _multiprocess_can_split_ in tests #19536

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pandas/tests/frame/test_apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,6 @@ def zip_frames(*frames):

class TestDataFrameAggregate(TestData):

_multiprocess_can_split_ = True

def test_agg_transform(self):

with np.errstate(all='ignore'):
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/period/test_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

class TestPeriodIndex(DatetimeLike):
_holder = PeriodIndex
_multiprocess_can_split_ = True

def setup_method(self, method):
self.indices = dict(index=tm.makePeriodIndex(10),
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_astype.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class TestTimedeltaIndex(object):
_multiprocess_can_split_ = True

def test_astype(self):
# GH 13149, GH 13209
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class TestTimedeltaIndex(object):
_multiprocess_can_split_ = True

def test_construction_base_constructor(self):
arr = [pd.Timedelta('1 days'), pd.NaT, pd.Timedelta('3 days')]
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class TestTimedeltaIndex(object):
_multiprocess_can_split_ = True

def test_insert(self):

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ def test_equals(self):


class TestTimedeltas(object):
_multiprocess_can_split_ = True

def test_timedelta_ops(self):
# GH4984
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_setops.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class TestTimedeltaIndex(object):
_multiprocess_can_split_ = True

def test_union(self):

Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/indexes/timedeltas/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

class TestTimedeltaIndex(DatetimeLike):
_holder = TimedeltaIndex
_multiprocess_can_split_ = True

def setup_method(self, method):
self.indices = dict(index=tm.makeTimedeltaIndex(10))
Expand Down Expand Up @@ -300,7 +299,6 @@ def test_freq_conversion(self):


class TestTimeSeries(object):
_multiprocess_can_split_ = True

def test_series_box_timedelta(self):
rng = timedelta_range('1 day 1 s', periods=5, freq='h')
Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_timedelta_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class TestTimedeltas(object):
_multiprocess_can_split_ = True

def test_timedelta_range(self):

Expand Down
1 change: 0 additions & 1 deletion pandas/tests/indexes/timedeltas/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@


class TestTimedeltas(object):
_multiprocess_can_split_ = True

def test_to_timedelta(self):
def conv(v):
Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/scalar/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class TestTimedeltaArithmetic(object):
_multiprocess_can_split_ = True

def test_arithmetic_overflow(self):
with pytest.raises(OverflowError):
Expand Down Expand Up @@ -286,7 +285,6 @@ def test_compare_timedelta_ndarray(self):


class TestTimedeltas(object):
_multiprocess_can_split_ = True

def setup_method(self, method):
pass
Expand Down
2 changes: 0 additions & 2 deletions pandas/tests/series/test_apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ def test_apply_dict_depr(self):

class TestSeriesAggregate(TestData):

_multiprocess_can_split_ = True

def test_transform(self):
# transforming functions

Expand Down