Namespaces enable TestStand to load multiple Python modules with the same name from different locations, or to assign the full type name to a class.

When you specify a Python module for the Python Adapter to use, TestStand assigns a namespace to the module. If the module you specify is under a package, TestStand calculates the namespace from the top most package. If the module you specify is not under a package, the namespace contains only the module name.

Compatibility

In earlier versions of TestStand before namespace support was introduced, type names of classes did not contain namespaces. If you use the type() function to determine the data type of a parameter of a function, you may encounter errors that were not present when using the earlier version of TestStand. Update your type validation code to resolve such errors.