File: test_profiler.py

package info (click to toggle)
python-easydev 0.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 504 kB
  • sloc: python: 2,130; javascript: 49; makefile: 13
file content (11 lines) | stat: -rw-r--r-- 136 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
from easydev import do_profile




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