symforce.test_util.test_case module¶
- class TestCase(methodName='runTest')[source]¶
Bases:
SymforceTestCaseMixin
Base class for symforce tests. Adds some useful helpers.
- Parameters:
methodName (
str
) –
- sympy_only(func)[source]¶
Decorator to mark a test to only run on SymPy, and skip otherwise.
- Parameters:
func (
Callable
) –- Return type:
Callable
- symengine_only(func)[source]¶
Decorator to mark a test to only run on the SymEngine, and skip otherwise.
- Parameters:
func (
Callable
) –- Return type:
Callable