Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Merge 75ea607 into be69dbf
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov-alexey committed Aug 3, 2019
2 parents be69dbf + 75ea607 commit 94e211d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions hpat/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def _follow_cpython(self, ptr, seed=2):

class TestBasic(BaseTest):

@unittest.skip('Error - fix needed\n')
def test_getitem(self):
def test_impl(N):
A = np.ones(N)
Expand All @@ -66,7 +65,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_setitem1(self):
def test_impl(N):
A = np.arange(10)+1.0
Expand All @@ -79,7 +77,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_setitem2(self):
def test_impl(N):
A = np.arange(10)+1.0
Expand All @@ -92,7 +89,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_astype(self):
def test_impl(N):
return np.ones(N).astype(np.int32).sum()
Expand Down Expand Up @@ -122,7 +118,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_inplace_binop(self):
def test_impl(N):
A = np.ones(N)
Expand All @@ -136,7 +131,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_getitem_multidim(self):
def test_impl(N):
A = np.ones((N, 3))
Expand All @@ -150,7 +144,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_whole_slice(self):
def test_impl(N):
X = np.ones((N, 4))
Expand All @@ -163,7 +156,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_strided_getitem(self):
def test_impl(N):
A = np.ones(N)
Expand All @@ -176,7 +168,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_assert(self):
# make sure assert in an inlined function works
def g(a):
Expand All @@ -202,7 +193,6 @@ def f():

pd.testing.assert_series_equal(hpat.jit(f)(), f())

@unittest.skip('Error - fix needed\n')
def test_reduce(self):
import sys
dtypes = ['float32', 'float64', 'int32', 'int64']
Expand All @@ -226,7 +216,6 @@ def test_reduce(self):
self.assertEqual(count_array_REPs(), 0)
self.assertEqual(count_parfor_REPs(), 0)

@unittest.skip('Error - fix needed\n')
def test_reduce2(self):
import sys
dtypes = ['float32', 'float64', 'int32', 'int64']
Expand All @@ -253,7 +242,6 @@ def test_reduce2(self):
self.assertEqual(count_array_REPs(), 0)
self.assertEqual(count_parfor_REPs(), 0)

@unittest.skip('Error - fix needed\n')
def test_reduce_filter1(self):
import sys
dtypes = ['float32', 'float64', 'int32', 'int64']
Expand Down Expand Up @@ -282,7 +270,6 @@ def test_reduce_filter1(self):
self.assertEqual(count_array_REPs(), 0)
self.assertEqual(count_parfor_REPs(), 0)

@unittest.skip('Error - fix needed\n')
def test_array_reduce(self):
binops = ['+=', '*=', '+=', '*=', '|=', '|=']
dtypes = ['np.float32', 'np.float32', 'np.float64', 'np.float64', 'np.int32', 'np.int64']
Expand All @@ -304,7 +291,6 @@ def test_array_reduce(self):
self.assertEqual(count_array_OneDs(), 0)
self.assertEqual(count_parfor_OneDs(), 1)

@unittest.skip('Error - fix needed\n')
def test_dist_return(self):
def test_impl(N):
A = np.arange(N)
Expand All @@ -321,7 +307,6 @@ def test_impl(N):
self.assertEqual(count_array_OneDs(), 1)
self.assertEqual(count_parfor_OneDs(), 1)

@unittest.skip('Error - fix needed\n')
def test_dist_return_tuple(self):
def test_impl(N):
A = np.arange(N)
Expand All @@ -341,7 +326,6 @@ def test_impl(N):
self.assertEqual(count_array_OneDs(), 2)
self.assertEqual(count_parfor_OneDs(), 2)

@unittest.skip('Error - fix needed\n')
def test_dist_input(self):
def test_impl(A):
return len(A)
Expand All @@ -352,7 +336,6 @@ def test_impl(A):
np.testing.assert_allclose(hpat_func(arr) / self.num_ranks, test_impl(arr))
self.assertEqual(count_array_OneDs(), 1)

@unittest.skip('Error - fix needed\n')
def test_rebalance(self):
def test_impl(N):
A = np.arange(n)
Expand All @@ -370,7 +353,6 @@ def test_impl(N):
finally:
hpat.distributed_analysis.auto_rebalance = False

@unittest.skip('Error - fix needed\n')
def test_rebalance_loop(self):
def test_impl(N):
A = np.arange(n)
Expand All @@ -391,7 +373,6 @@ def test_impl(N):
finally:
hpat.distributed_analysis.auto_rebalance = False

@unittest.skip('Error - fix needed\n')
def test_transpose(self):
def test_impl(n):
A = np.ones((30, 40, 50))
Expand Down

0 comments on commit 94e211d

Please sign in to comment.