]> gitweb.factorcode.org Git - factor.git/commitdiff
python.syntax: fix tests
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 18 Jan 2022 22:58:11 +0000 (14:58 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 18 Jan 2022 22:58:11 +0000 (14:58 -0800)
extra/python/syntax/syntax-tests.factor

index a951f082b717b5302ef1d6f5f69132480fd530c0..26340e60287a5054be5b633f832ecc1deaf982cb 100644 (file)
@@ -19,7 +19,7 @@ IN: python.syntax.tests
 [ "hello.doc" ] [ "/some/path/hello.doc" >py basename py> ] py-test
 
 [ { "hello" ".doc" } ] [
-    "hello.doc" >py splitext 2array [ py> ] s:map
+    "hello.doc" >py splitext 2array
 ] py-test
 
 [ ] [ 0 >py sleep ] py-test
@@ -78,7 +78,7 @@ IN: python.syntax.tests
 ] py-test
 
 [ { "hello" "=" "there" } ] [
-    "hello=there" >py "=" >py partition 3array [ py> ] s:map
+    "hello=there" >py "=" >py partition 3array
 ] py-test
 
 ! Introspection