Does this empty line have a meaning? If it's for AAA separation I prefer to have something like:

```
with self.listenPort(address, port):
    expected_address = address
    expected_port = port

self.assertIsListening(expected_address, expected_port)
```