File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 5151 warn ,
5252)
5353
54- __version__ = "1.11.0 "
54+ __version__ = "1.11.1 "
5555
5656
5757class DataDriver :
Original file line number Diff line number Diff line change 55from pathlib import Path
66
77from robot .api import ExecutionResult , ResultVisitor , SuiteVisitor # type: ignore
8- from robot .running .model import Variable # type: ignore
8+ try :
9+ from robot .running .model import Variable # type: ignore
10+ except ImportError :
11+ from robot .running .resourcemodel import Variable # type: ignore / robotframework>=7.0
912
1013
1114class rerunfailed (SuiteVisitor ):
@@ -23,7 +26,7 @@ def start_suite(self, suite):
2326 suite .tests .clear ()
2427 return
2528 if self ._suite_is_data_driven (suite ):
26- dynamic_tests = Variable ("@ {DYNAMICTESTS}" , self ._failed_tests , suite .source )
29+ dynamic_tests = Variable ("$ {DYNAMICTESTS}" , self ._failed_tests , suite .source )
2730 suite .resource .variables .append (dynamic_tests )
2831 else :
2932 suite .tests = [
You can’t perform that action at this time.
0 commit comments