Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testing: some cleanups #184

Merged
merged 4 commits into from
Apr 26, 2023
Merged

testing: some cleanups #184

merged 4 commits into from
Apr 26, 2023

Commits on Apr 22, 2023

  1. Configuration menu
    Copy the full SHA
    113976c View commit details
    Browse the repository at this point in the history
  2. 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_'?
    ```
    bluetech committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    8f0e8ec View commit details
    Browse the repository at this point in the history
  3. rsync: use a more robust check for relative link than "startswith"

    `startswith` is incorrect for paths in general, e.g. doesn't handle
    Windows extended-length paths and other such.
    
    The particular code here also wasn't careful about `/a/bc` not being
    relative to `/a/b`.
    bluetech committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    db7f204 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. doc,testing: drop use of py & tmpdir

    Use modern alternatives instead.
    bluetech committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    ef71036 View commit details
    Browse the repository at this point in the history