diff --git a/extra/python/python-tests.factor b/extra/python/python-tests.factor index b757dbb790..7bf73f413e 100644 --- a/extra/python/python-tests.factor +++ b/extra/python/python-tests.factor @@ -113,7 +113,9 @@ SYMBOLS: year month day ; ] py-test ! Modules -[ t ] [ "os" import PyModule_GetDict py-dict-size 200 > ] py-test +[ t ] [ + "os" import PyModule_GetDict dup Py_IncRef &Py_DecRef py-dict-size 100 > +] py-test ! Reference counting tests [ 2 ] [ 3 getrefcount >factor ] py-test