How would you unit test the nested function f1() in the following example?
def f(): def f1(): return 1 return 2
Or should functions that need testing not be nested?
Aucun commentaire:
Enregistrer un commentaire