]> gitweb.factorcode.org Git - factor.git/commitdiff
python: remove heisentest
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 20 Jan 2022 16:33:15 +0000 (08:33 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 20 Jan 2022 16:33:31 +0000 (08:33 -0800)
extra/python/python-tests.factor

index e967d9c8900697e4972ea2610071aa966a056fd8..7fe895d6c09a68d60ef620c2102b6b663469ac05 100644 (file)
@@ -11,15 +11,6 @@ IN: python
     "builtins" "None" py-import-from <none> =
 ] py-test
 
-! Pretty sure the # of None references should stay constant.
-: count-none-refs ( -- n )
-    "sys" "getrefcount" py-import-from
-    <none> <1py-tuple> call-object py> ;
-
-{ t } [ count-none-refs count-none-refs = ] py-test
-
-{ } [ { f f f } >py drop ] py-test
-
 ! Destructors
 { 1 } [ 33 >py drop always-destructors get length ] py-test