Skip to content

Commit f0e90cc

Browse files
azizkprincemaple
authored andcommitted
Commands: display another reason for unlocated tests.
1 parent 66ea1ca commit f0e90cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commands/mix_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,9 @@ def write_output(txt):
556556
for i, (d, t, name) in enumerate(params.get('unlocated_tests'))
557557
)
558558
+ 'File: %s\n\n' % path.join(cwd, params.get('file_path'))
559-
+ 'This error occurs when a test\'s name has been changed.\n'
559+
+ 'This error occurs when:\n'
560+
+ '* a test\'s name has been changed, or\n'
561+
+ '* the test file has unsaved changes.\n\n'
560562
+ 'Reselect the tests to be run or edit _build/%s to fix the name(s).\n'
561563
% FILE_NAMES.REPEAT_JSON
562564
)

0 commit comments

Comments
 (0)