commit | author | age | ||
fca1ef | 1 | import venusian |
CM | 2 | |
0c29cf | 3 | |
fca1ef | 4 | def foo(wrapped): |
CM | 5 | def bar(scanner, name, wrapped): |
6 | scanner.config.a = scanner.a | |
0c29cf | 7 | |
fca1ef | 8 | venusian.attach(wrapped, bar) |
CM | 9 | return wrapped |
0c29cf | 10 | |
fca1ef | 11 | |
CM | 12 | @foo |
13 | def hello(): | |
14 | pass | |
15 | ||
16 | ||
0c29cf | 17 | hello() # appease coverage |