The following changes will simplify reading of your code.:
```python
def test_convert_srt_to_txt(self):
  expected = self.txt_transcript
  actual = transcripts_utils.Transcript.convert(self.srt_transcript, 'srt', 'txt')
  self.assertEqual(actual, expected)
```
The same situation below.