Skip to content

Commit cd8e300

Browse files
committed
Correct setq signature.
It requires second argument on the master Emacs branch.
1 parent 61e8e58 commit cd8e300

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/pythonic-test.el

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
(should (s-equals-p "/ssh:test@localhost:/home/test/"
5959
(pythonic-default-directory))))
6060
(kill-buffer "*tramp/ssh test@localhost*")
61-
(setq tramp-current-connection)
61+
(setq tramp-current-connection nil)
6262
(sleep-for 0.5)))
6363

6464
(ert-deftest test-pythonic-default-directory-virtualenv-remote ()
@@ -68,7 +68,7 @@
6868
(should (s-equals-p "/ssh:test@localhost:/home/test/"
6969
(pythonic-default-directory))))
7070
(kill-buffer "*tramp/ssh test@localhost*")
71-
(setq tramp-current-connection)
71+
(setq tramp-current-connection nil)
7272
(sleep-for 0.5)))
7373

7474
;;; Set PYTHONPATH variable.
@@ -112,7 +112,7 @@ successively calls."
112112
(with-current-buffer "*tramp/ssh test@localhost*"
113113
(buffer-string)))))
114114
(kill-buffer "*tramp/ssh test@localhost*")
115-
(setq tramp-current-connection)
115+
(setq tramp-current-connection nil)
116116
(sleep-for 0.5)))
117117

118118
(ert-deftest test-pythonic-set-pythonpath-variable-tramp-exists ()
@@ -130,7 +130,7 @@ Respect existing PYTHONPATH on the remote host."
130130
(with-current-buffer "*tramp/ssh test@localhost*"
131131
(buffer-string)))))
132132
(kill-buffer "*tramp/ssh test@localhost*")
133-
(setq tramp-current-connection)
133+
(setq tramp-current-connection nil)
134134
(sleep-for 0.5)))
135135

136136
(ert-deftest test-pythonic-set-pythonpath-variable-tramp-few-calls ()
@@ -146,7 +146,7 @@ successively calls on the remote host."
146146
(with-current-buffer "*tramp/ssh test@localhost*"
147147
(buffer-string)))))
148148
(kill-buffer "*tramp/ssh test@localhost*")
149-
(setq tramp-current-connection)
149+
(setq tramp-current-connection nil)
150150
(sleep-for 0.5)))
151151

152152
;;; PATH variable.
@@ -170,7 +170,7 @@ successively calls on the remote host."
170170
(with-current-buffer "*tramp/ssh test@localhost*"
171171
(buffer-string)))))
172172
(kill-buffer "*tramp/ssh test@localhost*")
173-
(setq tramp-current-connection)
173+
(setq tramp-current-connection nil)
174174
(sleep-for 0.5)))
175175

176176
;;; Extra variables.
@@ -194,7 +194,7 @@ remote host."
194194
(with-current-buffer "*tramp/ssh test@localhost*"
195195
(buffer-string)))))
196196
(kill-buffer "*tramp/ssh test@localhost*")
197-
(setq tramp-current-connection)
197+
(setq tramp-current-connection nil)
198198
(sleep-for 0.5)))
199199

200200
;;; Call process.
@@ -321,7 +321,7 @@ example) after we start pythonic process."
321321
(should (get-buffer "x.py"))
322322
(kill-buffer "x.py"))
323323
(kill-buffer "*tramp/ssh test@localhost*")
324-
(setq tramp-current-connection)
324+
(setq tramp-current-connection nil)
325325
(sleep-for 0.5)))
326326

327327
;;; Proper process environment detection.
@@ -350,7 +350,7 @@ example) after we start pythonic process."
350350
'pythonic)
351351
:path))))
352352
(kill-buffer "*tramp/ssh test@localhost*")
353-
(setq tramp-current-connection)
353+
(setq tramp-current-connection nil)
354354
(sleep-for 0.5)))
355355

356356
(ert-deftest test-start-pythonic-pythonpath-property ()
@@ -380,7 +380,7 @@ Respect remote PYTHONPATH value."
380380
'pythonic)
381381
:pythonpath))))
382382
(kill-buffer "*tramp/ssh test@localhost*")
383-
(setq tramp-current-connection)
383+
(setq tramp-current-connection nil)
384384
(sleep-for 0.5)))
385385

386386
(ert-deftest test-start-pythonic-connection-property ()
@@ -394,7 +394,7 @@ Respect remote PYTHONPATH value."
394394
'pythonic)
395395
:connection))))
396396
(kill-buffer "*tramp/ssh test@localhost*")
397-
(setq tramp-current-connection)
397+
(setq tramp-current-connection nil)
398398
(sleep-for 0.5)))
399399

400400
(ert-deftest test-start-pythonic-environment-property ()
@@ -461,7 +461,7 @@ change since process was start."
461461
(process (start-pythonic :process "out" :args '("-V"))))
462462
(should (pythonic-proper-environment-p process)))
463463
(kill-buffer "*tramp/ssh test@localhost*")
464-
(setq tramp-current-connection)
464+
(setq tramp-current-connection nil)
465465
(sleep-for 0.5)))
466466

467467
;;; Activate/deactivate environment.

0 commit comments

Comments
 (0)