File: utils.py

package info (click to toggle)
python-picologging 0.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 752 kB
  • sloc: python: 3,921; cpp: 2,430; makefile: 41; sh: 18
file content (6 lines) | stat: -rw-r--r-- 177 bytes parent folder | download
1
2
3
4
5
6
def filter_gc(stack):
    for frame in stack.frames[:4]:
        if "picologging" in frame.filename and "test_" not in frame.filename:
            return True

    return False