Skip to content

Commit

Permalink
• test_autodiffcomposition.py
Browse files Browse the repository at this point in the history
  - test_execution_mode_python_error(): fix bug
  • Loading branch information
jdcpni committed Nov 25, 2022
1 parent 524eb8f commit cbb1a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/composition/test_autodiffcomposition.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ def test_execution_mode_python_error(self):
num_trials=2)
assert error.value.error_value == 'AUTODIFFCOMP is an AutodiffComposition so its learn() ' \
'cannot be called with execution_mode = ExecutionMode.Python; ' \
'use ExecutionMode.PyTorch or ExecutionMode.LLVM.'
'use ExecutionMode.PyTorch or ExecutionMode.LLVMRun.'

@pytest.mark.pytorch
@pytest.mark.actime
Expand Down

0 comments on commit cbb1a14

Please sign in to comment.