Python Programming - Testing - Discussion
Discussion Forum : Testing - General Questions (Q.No. 30)
30.
In Python's
unittest
module, what is the purpose of the assertWarns
method?
Answer: Option
Explanation:
The
assertWarns
method in the unittest
module is used to check if a warning is issued during the execution of a block of code.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers