How to write a nested test case like Jasmine in Python

Viewed 343

Jasmine can write a nested test case like this:

  describe('func1', () => {
    it('case1', () => {

    })
    it('case2', () => {

    })
  })
  describe('func2', () => {
    it('case1', () => {

    })
    it('case2', () => {

    })
  })

I'd like to write the same in Python.
I can't find it in WWW.

1 Answers
Related