AttributeError: '_AssertRaisesContext' object has no attribute 'exception'

前端 未结 0 1795
后悔当初
后悔当初 2020-12-01 18:18

I am new to this and I am trying to write a unit test to catch an exception, but not sure about the logic. I tried to go on my own but ended up with an error.

I want

相关标签:
回答
  • 消灭零回复
提交回复
热议问题