summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index ba7be048a8..871c174e82 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -2486,7 +2486,7 @@ class CrateTest(FetcherTest):
2486 uris = self.d.getVar('SRC_URI').split() 2486 uris = self.d.getVar('SRC_URI').split()
2487 2487
2488 fetcher = bb.fetch2.Fetch(uris, self.d) 2488 fetcher = bb.fetch2.Fetch(uris, self.d)
2489 with self.assertRaisesRegexp(bb.fetch2.FetchError, "Fetcher failure for URL"): 2489 with self.assertRaisesRegex(bb.fetch2.FetchError, "Fetcher failure for URL"):
2490 fetcher.download() 2490 fetcher.download()
2491 2491
2492class NPMTest(FetcherTest): 2492class NPMTest(FetcherTest):