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