Exemplo n.º 1
0
 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))
Exemplo n.º 2
0
 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))
Exemplo n.º 3
0
 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))
Exemplo n.º 4
0
 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))