mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	Rename test helper method with non-test_ name (#11701)
This commit is contained in:
		
							parent
							
								
									c8009c2734
								
							
						
					
					
						commit
						0f87720411
					
				|  | @ -20,7 +20,7 @@ def get_textcat_bow_kwargs(): | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def get_textcat_cnn_kwargs(): | def get_textcat_cnn_kwargs(): | ||||||
|     return {"tok2vec": test_tok2vec(), "exclusive_classes": False, "nO": 13} |     return {"tok2vec": make_test_tok2vec(), "exclusive_classes": False, "nO": 13} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def get_all_params(model): | def get_all_params(model): | ||||||
|  | @ -62,7 +62,7 @@ def get_tok2vec_kwargs(): | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def test_tok2vec(): | def make_test_tok2vec(): | ||||||
|     return build_Tok2Vec_model(**get_tok2vec_kwargs()) |     return build_Tok2Vec_model(**get_tok2vec_kwargs()) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user