taucmdr.cf.compiler.tests.test_python module

Tests for recognizing Python interpreters by name.

class taucmdr.cf.compiler.tests.test_python.VersionedNameTest(methodName='runTest')[source]

Bases: TestCase

Tests for interpreter commands whose names include a minor version.

_classSetupFailed = False
_class_cleanups = []
test_python2_versioned_refused()[source]

python2.7 isn’t taken for a Python 3 interpreter.

test_versioned_name()[source]

python3.<minor> is recognized as a Python 3 interpreter.

test_without_minor_version()[source]

Return the path of a new link named python3.<minor> to this Python, in the test’s work directory.