Do not use fixed line number with test_cache_failure_warns (#6748)
It was not previously checking for the line number also (02aa8ad
), and this is
obviously wrong (affected by changes to the file).
This commit is contained in:
parent
d18c75baa3
commit
442f7a7706
|
@ -71,8 +71,8 @@ class TestNewAPI:
|
||||||
[
|
[
|
||||||
# Validate location/stacklevel of warning from cacheprovider.
|
# Validate location/stacklevel of warning from cacheprovider.
|
||||||
"*= warnings summary =*",
|
"*= warnings summary =*",
|
||||||
"*/cacheprovider.py:314",
|
"*/cacheprovider.py:*",
|
||||||
" */cacheprovider.py:314: PytestCacheWarning: could not create cache path "
|
" */cacheprovider.py:*: PytestCacheWarning: could not create cache path "
|
||||||
"{}/v/cache/nodeids".format(cache_dir),
|
"{}/v/cache/nodeids".format(cache_dir),
|
||||||
' config.cache.set("cache/nodeids", self.cached_nodeids)',
|
' config.cache.set("cache/nodeids", self.cached_nodeids)',
|
||||||
"*1 failed, 3 warnings in*",
|
"*1 failed, 3 warnings in*",
|
||||||
|
|
Loading…
Reference in New Issue