mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 01:48:04 +03:00 
			
		
		
		
	Tweak package test
This commit is contained in:
		
							parent
							
								
									11840ff5dd
								
							
						
					
					
						commit
						e0e8eae7c7
					
				| 
						 | 
				
			
			@ -52,7 +52,7 @@ def test_multi_model_load_missing_dims():
 | 
			
		|||
    assert model2._layers[0].b[0, 0] == 1
 | 
			
		||||
    assert model2._layers[1].b[0, 0] == 2
 | 
			
		||||
 | 
			
		||||
@pytest.mark.parametrize('package', ['thinc'])
 | 
			
		||||
@pytest.mark.parametrize('package', ['numpy'])
 | 
			
		||||
def test_util_is_package(package):
 | 
			
		||||
    """Test that an installed package via pip is recognised by util.is_package."""
 | 
			
		||||
    assert util.is_package(package)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user