mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 18:07:26 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			240 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			240 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# coding: utf-8
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from ...matcher import Matcher
 | 
						|
 | 
						|
import pytest
 | 
						|
 | 
						|
 | 
						|
def test_issue588(en_vocab):
 | 
						|
    matcher = Matcher(en_vocab)
 | 
						|
    with pytest.raises(ValueError):
 | 
						|
        matcher.add('TEST', None, [])
 |