python.syntax: fix tests when run first.

db4
John Benediktsson 2014-03-12 20:01:11 -07:00
parent 272102e647
commit daec237fea
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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 =>