jedcunningham commented on a change in pull request #21022:
URL: https://github.com/apache/airflow/pull/21022#discussion_r789914655
##########
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:
Ah TIL, it's a global var, didn't know that.
--
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]