Files
PlantAI-dev/tools/pymol-open-source/testing/tests/api/ctest.py
T

13 lines
331 B
Python
Raw Normal View History

2026-08-03 18:42:47 +08:00
import pymol
from pymol import cmd, testing
@testing.requires_version('2.3')
class TestCTest(testing.PyMOLTestCase):
def test2(self):
try:
status = pymol._cmd.test2()
except NotImplementedError:
self.skipTest("not compiled with --testing")
self.assertTrue(status in (0, None))