Skip to content

Commit 88799f3

Browse files
committed
more
1 parent f2c2fb3 commit 88799f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypyc/test/testutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def build_ir_for_single_file2(
123123
# Construct input as a single single.
124124
# Parse and type check the input program.
125125
result = build.build(sources=[source], options=options, alt_lib_path=test_temp_dir)
126+
result.manager.metastore.close()
126127
if result.errors:
127128
raise CompileError(result.errors)
128129

@@ -139,7 +140,6 @@ def build_ir_for_single_file2(
139140
assert_func_ir_valid(fn)
140141
tree = result.graph[module.fullname].tree
141142
assert tree is not None
142-
result.manager.metastore.close()
143143
return module, tree, result.types, mapper
144144

145145

0 commit comments

Comments
 (0)