diff --git a/hpat/tests/test_dataframe.py b/hpat/tests/test_dataframe.py index 2aa1d50df..816373c58 100644 --- a/hpat/tests/test_dataframe.py +++ b/hpat/tests/test_dataframe.py @@ -23,7 +23,6 @@ def inner_get_column(df): class TestDataFrame(unittest.TestCase): - @unittest.skip('Error - fix needed\n') def test_create1(self): def test_impl(n): df = pd.DataFrame({'A': np.ones(n), 'B': np.random.ranf(n)}) @@ -131,7 +130,6 @@ def test_impl(n): np.testing.assert_allclose(dist_sum(hres.A.sum()), res.A.sum()) np.testing.assert_allclose(dist_sum(hres.B.sum()), res.B.sum()) - @unittest.skip('Error - fix needed\n') def test_len1(self): def test_impl(n): df = pd.DataFrame({'A': np.ones(n, np.int64), 'B': np.random.ranf(n)}) @@ -154,7 +152,6 @@ def test_impl(n): self.assertEqual(count_array_REPs(), 0) self.assertEqual(count_parfor_REPs(), 0) - @unittest.skip('Error - fix needed\n') def test_column_getitem1(self): def test_impl(n): df = pd.DataFrame({'A': np.ones(n), 'B': np.random.ranf(n)}) @@ -472,7 +469,6 @@ def test_impl(n): self.assertEqual(count_array_REPs(), 0) self.assertEqual(count_parfor_REPs(), 0) - @unittest.skip('Error - fix needed\n') def test_df_apply(self): def test_impl(n): df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)}) @@ -483,7 +479,6 @@ def test_impl(n): hpat_func = hpat.jit(test_impl) np.testing.assert_almost_equal(hpat_func(n), test_impl(n)) - @unittest.skip('Error - fix needed\n') def test_df_apply_branch(self): def test_impl(n): df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)}) @@ -494,7 +489,6 @@ def test_impl(n): hpat_func = hpat.jit(test_impl) np.testing.assert_almost_equal(hpat_func(n), test_impl(n)) - @unittest.skip('Error - fix needed\n') def test_df_describe(self): def test_impl(n): df = pd.DataFrame({'A': np.arange(0, n, 1, np.float32), @@ -582,6 +576,7 @@ def test_impl(df): hpat_func = hpat.jit(test_impl) self.assertTrue((hpat_func(df) == sorted_df.B.values).all()) + @unittest.skip('Error - fix needed; issue is related to __pycache__\n') def test_sort_parallel_single_col(self): # create `kde.parquet` file ParquetGenerator.gen_kde_pq() @@ -604,6 +599,7 @@ def test_impl(): # restore global val hpat.hiframes.sort.MIN_SAMPLES = save_min_samples + @unittest.skip('Error - fix needed; issue is related to __pycache__\n') def test_sort_parallel(self): # create `kde.parquet` file ParquetGenerator.gen_kde_pq() @@ -789,7 +785,6 @@ def test_impl(n): n = 11 pd.testing.assert_series_equal(hpat_func(n), test_impl(n)) - @unittest.skip('Error - fix needed\n') def test_count1(self): # TODO: non-numeric columns should be ignored automatically def test_impl(n): @@ -948,7 +943,6 @@ def test_impl(df): df = pd.DataFrame({'A': np.arange(n), 'B': np.arange(n)**2}) pd.testing.assert_frame_equal(hpat_func(df), test_impl(df)) - @unittest.skip('Error - fix needed\n') def test_append1(self): def test_impl(df, df2): return df.append(df2, ignore_index=True)