Skip to content

Commit 8f0e8ec

Browse files
committed
testing/test_basics: fix typo in Gateway mock
Fix: ``` testing/test_basics.py::TestPureChannel::test_factory_create[thread] testing/test_basics.py::TestPureChannel::test_factory_getitem[thread] testing/test_basics.py::TestPureChannel::test_channel_timeouterror[thread] testing/test_basics.py::TestPureChannel::test_channel_makefile_incompatmode[thread] /home/ran/src/execnet/.tox/py310/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <function Channel.__del__ at 0x7fcb5b6a13f0> Traceback (most recent call last): File "/home/ran/src/execnet/execnet/gateway_base.py", line 605, in __del__ self.gateway._send(msgcode, self.id) AttributeError: 'Gateway' object has no attribute '_send'. Did you mean: '_send_'? ```
1 parent 113976c commit 8f0e8ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class Gateway:
297297
def _trace(self, *args):
298298
pass
299299

300-
def _send_(self, *k):
300+
def _send(self, *k):
301301
pass
302302

303303
Gateway.execmodel = execmodel

0 commit comments

Comments
 (0)