File: test_profiler.py

package info (click to toggle)
python-easydev 0.13.3%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 636 kB
  • sloc: python: 1,904; makefile: 116; javascript: 49
file content (9 lines) | stat: -rw-r--r-- 134 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from easydev import do_profile


@do_profile()
def test_profile():
    @do_profile()
    def test_runme():
        a = 1
        a**2