github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/please_pex/custom_interpreter_test.py (about) 1 """Test that our pexer is capable of building .pex files with custom interpreters.""" 2 3 import platform 4 import unittest 5 6 7 class CustomInterpreterTest(unittest.TestCase): 8 9 def testInterpreterIsPyPy(self): 10 """Test that this is being run with PyPy.""" 11 self.assertEqual('PyPy', platform.python_implementation()) 12 13 14 if __name__ == '__main__': 15 unittest.main()