I have built unittests for my code and everything works fine when running them from vscode. Even running coverage run runs successfully.
But when I try to run coverage report I get the following output:
No source for code: 'C:\Users\XXX\AppData\Local\Temp\1\__autograph_generated_file4ilniiln.py'
I found out that this happens exactly when I add a test case which contains tensorflow.keras.Model.fit function. If I remove tensorflow.keras.Model.fit then this message does not appear for coverage report command.
How can I solve this issue?