File: test_attributes.py

package info (click to toggle)
python-memory-profiler 0.61-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: python: 2,228; makefile: 33
file content (12 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
from memory_profiler import profile


@profile
def test_with_profile(arg1):
    """dummy doc"""
    return None


if __name__ == '__main__':
    assert test_with_profile.__doc__ == "dummy doc"
    assert test_with_profile.__name__ == "test_with_profile"