Skip to content

Commit

Permalink
tests: remove redundant logging
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Aug 21, 2022
1 parent ca63e59 commit 7779faa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def test_perf(cu, ex, shape=(1337, 42), quiet=False):


if __name__ == "__main__":
import logging
logging.basicConfig(level=logging.ERROR)
try:
from tqdm import trange
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_swigcuvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,5 +158,5 @@ def test_increment():
a[:] = 0
assert (a == 0).all()

res = cu.asarray(increment2d_f(a.cuvec))
res = cu.asarray(increment2d_f(a.cuvec), ownership='debug')
assert (res == 1).all()

0 comments on commit 7779faa

Please sign in to comment.