Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Undecorate 6 tests in test_dataframe.py
  • Loading branch information
densmirn committed May 26, 2020
commit aa9884e1650bf51aea902d4c3ef86c37715af713
6 changes: 0 additions & 6 deletions sdc/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class TestDataFrame(TestCase):

# TODO: Data generator for DataFrames

@dfRefactoringNotImplemented
def test_create1(self):
def test_impl(A, B):
df = pd.DataFrame({'A': A, 'B': B})
Expand Down Expand Up @@ -108,7 +107,6 @@ def test_impl():

self.assertEqual(hpat_func(), test_impl())

@dfRefactoringNotImplemented
def test_create_with_series1(self):
def test_impl(n):
A = pd.Series(np.ones(n, dtype=np.int64))
Expand All @@ -132,7 +130,6 @@ def test_impl(A):
self.assertEqual(hpat_func(df.A), test_impl(df.A))

@skip_sdc_jit
@dfRefactoringNotImplemented
def test_create_string_index(self):
def test_impl(a):
data = {'A': ['a', 'b'], 'B': [2, 3]}
Expand All @@ -142,7 +139,6 @@ def test_impl(a):
hpat_func = sdc.jit(test_impl)
pd.testing.assert_frame_equal(hpat_func(True), test_impl(True))

@dfRefactoringNotImplemented
def test_create_cond1(self):
def test_impl(A, B, c):
if c:
Expand Down Expand Up @@ -232,7 +228,6 @@ def test_impl(n):
do_check = False if platform.system() == 'Windows' and not IS_32BITS else True
pd.testing.assert_frame_equal(hpat_func(n), test_impl(n), check_dtype=do_check)

@dfRefactoringNotImplemented
def test_box2(self):
def test_impl():
df = pd.DataFrame({'A': [1, 2, 3], 'B': ['a', 'bb', 'ccc']})
Expand Down Expand Up @@ -1484,7 +1479,6 @@ def impl(a):
)
pd.testing.assert_frame_equal(sdc_func(df), ref_impl(df))

@dfRefactoringNotImplemented # required re-implementing DataFrame boxing
def test_df_head_no_unboxing(self):
def test_impl(n):
df = pd.DataFrame({
Expand Down