tictoc/tests/testTocBeforeTic.py

8 lines
130 B
Python

import pytest
import tictoc
def testTocBeforeTic():
with pytest.raises(Exception):
t = tictoc.init()
t.toc()