samedi 2 mai 2020

Python. How do I write a test that function returns another function?

How can I work with nested function(closure). I need to write for them testing function and use pytest.mark.paramtrized method. But I couldn't find necessary information for to write my test. And it returns a function and not a value .

Can you help me some information?

Aucun commentaire:

Enregistrer un commentaire