Esempio n. 1
0
import library

library.run_func()
def failing():
    print("In changed function")

library.lib_func = failing
library.run_func()
Esempio n. 2
0
import library

library.run_func()


def failing():
    print("In changed function")


library.lib_func = failing
library.run_func()
Esempio n. 3
0
from library import run_func

run_func()


def failing():
    print("In changed function")

import library
library.function = failing

run_func()