File: test-exception.py

package info (click to toggle)
guake 3.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,712 kB
  • sloc: python: 6,968; xml: 695; makefile: 501; sh: 271
file content (19 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python3

print("Quick Open test: exception traceback")


def func4():
    raise ValueError("This is an exception")


def func2():
    func3()  # noqa: F821


def func1():
    func2()


if __name__ == "__main__":
    func1()