Skip to content

Commit

Permalink
cleaning up my PR
Browse files Browse the repository at this point in the history
  • Loading branch information
smazouz42 committed Jul 19, 2024
1 parent 88d74d1 commit 2705949
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions pyccel/ast/class_defs.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ def get_cls_base(class_type):
return CudaArrayClass
elif isinstance(class_type, (NumpyNumericType, NumpyNDArrayType)):
return NumpyArrayClass


# elif isinstance(class_type, StackArrayType):
elif isinstance(class_type, TupleType):
return TupleClass
Expand Down
1 change: 0 additions & 1 deletion pyccel/stdlib/ndarrays/ndarrays.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ void copy_data(t_ndarray **ds, t_ndarray src, uint32_t offset, bool elem_wise_cp
}
}

#=

void array_copy_data(t_ndarray *dest, t_ndarray src, uint32_t offset)
{
Expand Down
5 changes: 2 additions & 3 deletions tests/pyccel/test_pyccel.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ def compile_pyccel(path_dir, test_file, options = ""):
cmd = [shutil.which("pyccel"), test_file]
if options != "":
cmd += options.strip().split()
p = subprocess.run(cmd, capture_output = True, universal_newlines=True, cwd=path_dir)
print(p.stdout)
print(p.stderr)
p = subprocess.Popen(cmd, universal_newlines=True, cwd=path_dir)
p.wait()
assert p.returncode==0

#------------------------------------------------------------------------------
Expand Down

0 comments on commit 2705949

Please sign in to comment.