(self)
| 32 | |
| 33 | class ServerTest(TestCase): |
| 34 | def test_init_when_linux(self): |
| 35 | test_utils.set_linux() |
| 36 | |
| 37 | try: |
| 38 | self.start_server(12345, '127.0.0.1') |
| 39 | |
| 40 | if self.requires_explicit_ioloop_factory: |
| 41 | self.fail('Server should NOT be startable on current environment') |
| 42 | else: |
| 43 | self.check_server_running() |
| 44 | |
| 45 | except NotImplementedError as e: |
| 46 | if self.requires_explicit_ioloop_factory and is_unsupported_ioloop_exception(e): |
| 47 | return |
| 48 | |
| 49 | raise |
| 50 | |
| 51 | @patch('utils.env_utils.sys.version_info', (3, 8, 0)) |
| 52 | def test_init_when_windows_and_python_3_8(self): |
nothing calls this directly
no test coverage detected