in Python by (5.1k points)
Q> Which of the following method is used to catch exceptions in a test, with unittest?

1). assertRaises

2). assertCatch

3). assert

4). assertException

1 Answer

0 votes
by (5.1k points)
Ans is assertRaises

Related questions

0 votes
asked Jul 16, 2020 in Python by GeorgeBell (5.1k points)