File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1217,12 +1217,14 @@ def name(self):
12171217 '''The name of the test.
12181218
12191219 This is an alias of :attr:`display_name` but omitting any implicit
1220- parameters starting with ``$ `` that are inserted by the
1220+ parameters starting with ``. `` that are inserted by the
12211221 :option:`--repeat`, :option:`--distribute` and other similar options.
12221222
12231223 .. versionchanged:: 4.7
12241224
1225- The implicit parameters starting with ``$`` are now omitted.
1225+ The implicit parameters starting with special characters are now
1226+ omitted.
1227+
12261228 '''
12271229 if hasattr (self , '_rfm_name' ):
12281230 return self ._rfm_name
@@ -1231,7 +1233,7 @@ def name(self):
12311233 basename , * params = self .display_name .split (' ' )
12321234 name = basename
12331235 for p in params :
1234- if not p .startswith ('%$ ' ):
1236+ if not p .startswith ('%. ' ):
12351237 name += f' { p } '
12361238
12371239 self ._rfm_name = name
You can’t perform that action at this time.
0 commit comments