Skip to content

Commit 48e968d

Browse files
committed
comment out tests for no
1 parent aa5f9b9 commit 48e968d

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

snippets/python-mode/.yas-setup.el

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,23 @@ default values. An argument named `self` is omitted."
102102

103103

104104
;; Tests
105+
;; (ert-deftest test-split ()
106+
;; "For starters, only test a single string for expected output."
107+
;; (should (equal
108+
;; (python-split-args "_foo='this', bar: int = 2, baz: Optional[My_Type], foobar")
109+
;; (list '("_foo" nil "'this'")
110+
;; '("bar" "int" "2")
111+
;; '("baz" "Optional[My_Type]" nil)
112+
;; '("foobar" nil nil)))
113+
;; ))
105114

106-
(ert-deftest test-split ()
107-
"For starters, only test a single string for expected output."
108-
(should (equal
109-
(python-split-args "_foo='this', bar: int = 2, baz: Optional[My_Type], foobar")
110-
(list '("_foo" nil "'this'")
111-
'("bar" "int" "2")
112-
'("baz" "Optional[My_Type]" nil)
113-
'("foobar" nil nil)))
114-
))
115-
116-
(ert-deftest test-argument-self ()
117-
"If an argument is called `self`, it must be omitted"
118-
(should (equal
119-
(python-split-args "self, _foo=\"this\"")
120-
(list '("_foo" nil "\"this\"")
121-
))
122-
))
115+
;; (ert-deftest test-argument-self ()
116+
;; "If an argument is called `self`, it must be omitted"
117+
;; (should (equal
118+
;; (python-split-args "self, _foo=\"this\"")
119+
;; (list '("_foo" nil "\"this\"")
120+
;; ))
121+
;; ))
123122

124123
;; For manual testing and development:
125124

0 commit comments

Comments
 (0)