mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	Also update test accordingly
This commit is contained in:
		
							parent
							
								
									7251014380
								
							
						
					
					
						commit
						c710abe6d7
					
				|  | @ -49,5 +49,5 @@ def test_tokenizer_handles_emoji(tokenizer, text, length): | ||||||
| 
 | 
 | ||||||
| def test_tokenizer_degree(tokenizer): | def test_tokenizer_degree(tokenizer): | ||||||
|     for u in "cfkCFK": |     for u in "cfkCFK": | ||||||
|         assert [t.text for t in tokenizer(f"°{u}.")] == [f"°{u}", "."] |         assert [t.text for t in tokenizer(f"°{u}.")] == ["°", f"{u}", "."] | ||||||
|         assert [t[1] for t in tokenizer.explain(f"°{u}.")] == [f"°{u}", "."] |         assert [t[1] for t in tokenizer.explain(f"°{u}.")] == ["°", f"{u}", "."] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user