Skip to content

Commit d9ec7cb

Browse files
authored
Merge pull request #8880 from stuartarchibald/fix/yaml_dep_in_runtests_test
Fix missing dependency guard on pyyaml in `test_azure_config`.
2 parents bada8fc + 88f48df commit d9ec7cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎numba/tests/test_runtests.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ def test_gitdiff(self):
206206
with self.assertRaises(subprocess.CalledProcessError):
207207
self.get_testsuite_listing(['-g=ancest'], subp_kwargs=subp_kwargs)
208208

209+
@unittest.skipUnless(has_pyyaml, "Requires pyyaml")
209210
def test_azure_config(self):
210211
from yaml import Loader
211212
base_path = os.path.dirname(os.path.abspath(__file__))

0 commit comments

Comments
 (0)