Skip to content

Commit 350cf09

Browse files
committed
Use the old syntax in 1.8.1 for the directory cache
Also, rename the test (the initial name was a copy paste error)
1 parent 3354fe1 commit 350cf09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittests/test_directory_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ def __init__(self, *args):
1515
parser_test_case.parser_test_case_t.__init__(self, *args)
1616
self.header = "core_cache.hpp"
1717

18-
def test_elaborated_types(self):
18+
def test_directory_cache(self):
1919
"""
2020
Test the directory cache
2121
2222
"""
2323

2424
cache = parser.directory_cache_t(
25-
directory="unittests/data/directory_cache_test")
25+
dir="unittests/data/directory_cache_test")
2626
# Generate a cache on first read
2727
parser.parse([self.header], self.config, cache=cache)
2828
# Read from the cache the second time

0 commit comments

Comments
 (0)