From 76cb91fa37ea339acf1b00bad7fa71b65f1176a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Wed, 6 Mar 2024 12:53:04 +0100
Subject: [PATCH] removed unit tests for PyPy

---
 .github/workflows/ci.yml | 2 +-
 satella/dao.py           | 2 +-
 satella/os/misc.py       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 86274691..622c7169 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,7 +6,7 @@ jobs:
     runs-on: ubuntu-20.04
     strategy:
       matrix:
-        python-version: [ "3.7", "3.8", "pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12" ]
+        python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
     steps:
       - uses: actions/checkout@main
       - uses: actions/setup-python@main
diff --git a/satella/dao.py b/satella/dao.py
index 207d8b6d..329cea3b 100644
--- a/satella/dao.py
+++ b/satella/dao.py
@@ -47,7 +47,7 @@ def must_be_loaded(fun):
         assert isinstance(self,
                           Loadable), 'must_be_loaded called with a class that does not subclass ' \
                                      'Loadable'
-        if not self._loaded:
+        if not self._loaded:        # pylint disable:protected-access
             self.refresh()
         return fun(self, *args, **kwargs)
 
diff --git a/satella/os/misc.py b/satella/os/misc.py
index 456aad4f..10377d63 100644
--- a/satella/os/misc.py
+++ b/satella/os/misc.py
@@ -34,9 +34,9 @@ def safe_listdir(directory: str) -> tp.Iterator[str]:
     """
     Return elements of directory.
 
-    Retuns nothing if directory does not exist, or is not a directory.
+    Returns nothing (an empty iterator) if directory does not exist, or is not a directory.
 
-    :param directory: path to the element.
+    :param directory: path to the element to examine.
     """
     try:
         yield from os.listdir(directory)
-- 
GitLab