chore: warn with file path
This commit is contained in:
		
							parent
							
								
									26b128d2c7
								
							
						
					
					
						commit
						30a22dba49
					
				|  | @ -258,7 +258,11 @@ def get_testcases( | ||||||
|     testcases = set() |     testcases = set() | ||||||
|     for testcases_path in (task_root / task_path).parent.glob("**/*.in"): |     for testcases_path in (task_root / task_path).parent.glob("**/*.in"): | ||||||
|         if not testcases_path.with_suffix(".out").exists(): |         if not testcases_path.with_suffix(".out").exists(): | ||||||
|             logger.warning(f"Testcase {testcases_path} has no corresponding .out file") |             logger.warning( | ||||||
|  |                 f"In file {task_root / task_path}, " | ||||||
|  |                 f"testcase {testcases_path} has no corresponding .out file, " | ||||||
|  |                 "skipped" | ||||||
|  |             ) | ||||||
|             continue |             continue | ||||||
|         testcases.add( |         testcases.add( | ||||||
|             str( |             str( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user