Skip to content

Commit 75da243

Browse files
committed
not printing timer
1 parent a0918d3 commit 75da243

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pytest/test_timer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def test_timer():
2424
timer = NumCpp.Timer()
2525
timer.tic()
2626
timer.sleep(SLEEP_TIME)
27-
elapsedTime = timer.toc(NumCpp.PrintElapsedTime.YES) # microseconds
27+
elapsedTime = timer.toc(NumCpp.PrintElapsedTime.NO) # microseconds
2828
assert np.abs(elapsedTime.count() - SLEEP_TIME) < 0.1e6
2929

3030
SLEEP_TIME = int(
@@ -40,5 +40,5 @@ def test_timer():
4040
timer = NumCpp.Timer("Python Test Case")
4141
timer.tic()
4242
timer.sleep(SLEEP_TIME)
43-
elapsedTime = timer.toc(NumCpp.PrintElapsedTime.YES) # microseconds
43+
elapsedTime = timer.toc(NumCpp.PrintElapsedTime.NO) # microseconds
4444
assert np.abs(elapsedTime.count() - SLEEP_TIME) < 0.1e6

0 commit comments

Comments
 (0)