Skip to content

Commit 7049658

Browse files
committed
test fixes
1 parent 93ddbbd commit 7049658

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

mypy/test/test_ref_info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def run_case(self, testcase: DataDrivenTestCase) -> None:
2323
options.use_builtins_fixtures = True
2424
options.show_traceback = True
2525
options.export_ref_info = True # This is the flag we are testing
26+
options.sqlite_cache = False
2627

2728
src = "\n".join(testcase.input)
2829
result = build.build(

mypy/test/testexportjson.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def run_case(self, testcase: DataDrivenTestCase) -> None:
3131
options.show_traceback = True
3232
options.allow_empty_bodies = True
3333
options.fixed_format_cache = True
34+
options.sqlite_cache = False
3435
fnam = os.path.join(self.base_path, "main.py")
3536
with open(fnam, "w") as f:
3637
f.write(src)

0 commit comments

Comments
 (0)