mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Fix test
This commit is contained in:
		
							parent
							
								
									5d605d539d
								
							
						
					
					
						commit
						b85bd63eca
					
				| 
						 | 
					@ -368,7 +368,7 @@ def test_parse_cli_overrides():
 | 
				
			||||||
@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
 | 
					@pytest.mark.parametrize("optimize", ["efficiency", "accuracy"])
 | 
				
			||||||
def test_init_config(lang, pipeline, optimize):
 | 
					def test_init_config(lang, pipeline, optimize):
 | 
				
			||||||
    # TODO: add more tests and also check for GPU with transformers
 | 
					    # TODO: add more tests and also check for GPU with transformers
 | 
				
			||||||
    config = init_config("-", lang=lang, pipeline=pipeline, optimize=optimize, cpu=True)
 | 
					    config = init_config(lang=lang, pipeline=pipeline, optimize=optimize, cpu=True)
 | 
				
			||||||
    assert isinstance(config, Config)
 | 
					    assert isinstance(config, Config)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user