def test_extrasRequiresMacosPlatformDeps(self):
        """
        L{_EXTRAS_REQUIRE}'s C{macos_platform} extra contains setuptools
        requirements for all of Twisted's optional dependencies usable on the
        macOS platform.
        """
        deps = _EXTRAS_REQUIRE['macos_platform']
        self.assertIn('pyopenssl >= 16.0.0', deps)
        self.assertIn('service_identity >= 18.1.0', deps)
        self.assertIn('idna >= 0.6, != 2.3', deps)
        self.assertIn('pyasn1', deps)
        self.assertIn('cryptography >= 2.5', deps)
        self.assertIn('soappy', deps)
        self.assertIn('pyserial >= 3.0', deps)
        self.assertIn('h2 >= 3.0, < 4.0', deps)
        self.assertIn('priority >= 1.1.0, < 2.0', deps)
        self.assertIn('pyobjc-core', deps)

        L{_EXTRAS_REQUIRE}'s C{macos_platform} extra contains setuptools
        requirements for all of Twisted's optional dependencies usable on the
        macOS platform.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_setup.py