AttributeError: module 'main' has no attribute 'TestQueue'

AttributeError: module 'main' has no attribute 'TestQueue'

yazan Kevin Qagish -
Yanıt sayısı: 1

Hello, 

I have a quick question ist the last line "del TestQueue" in the unittest really neccesary ?

Because without it i can test my code and it works just fine.

With it on the other side the following error occurs : AttributeError: module 'main' has no attribute 'TestQueue'

 

Best regards