def test_other(self): """ L{_checkCPython} returns C{False} when C{platform.python_implementation} says we're not running on CPython. """ self.assertFalse(_setup._checkCPython(platform=fakeOtherPlatform))
def test_cpython(self): """ L{_checkCPython} returns C{True} when C{platform.python_implementation} says we're running on CPython. """ self.assertTrue(_setup._checkCPython(platform=fakeCPythonPlatform))