python.syntax: fix tests when run first.
							parent
							
								
									272102e647
								
							
						
					
					
						commit
						daec237fea
					
				| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
USING: accessors arrays assocs calendar continuations destructors fry kernel
 | 
			
		||||
math namespaces python python.ffi python.objects sequences strings tools.test ;
 | 
			
		||||
IN: python.tests
 | 
			
		||||
IN: python
 | 
			
		||||
 | 
			
		||||
py-initialize
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,10 @@
 | 
			
		|||
USING: arrays assocs destructors fry io.files.temp kernel math namespaces
 | 
			
		||||
python python.ffi python.objects python.syntax python.tests sequences sets
 | 
			
		||||
USING: arrays assocs destructors fry io.files.temp kernel math
 | 
			
		||||
namespaces python python.ffi python.objects sequences sets
 | 
			
		||||
splitting tools.test unicode.categories ;
 | 
			
		||||
IN: python.syntax.tests
 | 
			
		||||
IN: python.syntax
 | 
			
		||||
 | 
			
		||||
: py-test ( result quot -- )
 | 
			
		||||
    '[ _ with-destructors ] unit-test ; inline
 | 
			
		||||
 | 
			
		||||
! py-importing functions
 | 
			
		||||
PY-FROM: os =>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue