File: dummy.py

package info (click to toggle)
exam 0.10.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 216 kB
  • sloc: python: 759; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#: Module purely exists to test patching things.
thing = True
it = lambda: False


def get_thing():
    global thing
    return thing


def get_it():
    global it
    return it


def get_prop():
    return ThingClass.prop


class ThingClass(object):
    prop = True