ashb commented on code in PR #23535:
URL: https://github.com/apache/airflow/pull/23535#discussion_r868030054


##########
tests/utils/test_file.py:
##########
@@ -78,6 +78,29 @@ def test_open_maybe_zipped_archive(self):
 
 
 class TestListPyFilesPath(unittest.TestCase):
+    def setUp(self):

Review Comment:
   Lets migrate this to pytest 
https://docs.pytest.org/en/stable/how-to/tmp_path.html#tmp-path
   
   Something like:
   
    ```suggestion
   class TestListPyFilesPath():
       @pytest.fixture(autouse=True)
       def test_dir(self, tmpdir):
           ...
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to