jedcunningham commented on a change in pull request #21022:
URL: https://github.com/apache/airflow/pull/21022#discussion_r789913899



##########
File path: tests/providers/apache/hdfs/hooks/test_hdfs.py
##########
@@ -29,9 +31,7 @@
     snakebite_loaded = True
 except ImportError:
     snakebite_loaded = False
-
-if not snakebite_loaded:
-    raise unittest.SkipTest("Skipping test because HDFSHook is not installed")
+    pytestmark = pytest.mark.skip("Skipping test because HDFSHook is not 
installed")

Review comment:
       Hmm, why are you defining `pytestmark`? It's not being used?




-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to