Skip to content

Commit

Permalink
Python: fix ResourceWarning: unclosed file <_io.FileIO name='...' mod…
Browse files Browse the repository at this point in the history
…e='rb' closefd=True>

where ... = src/fixed_struct.bin
          = src/switch_opcodes.bin
  • Loading branch information
Mingun committed Jul 16, 2024
1 parent 9907d56 commit a8cdbcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions spec/python/test_debug_enum_name.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions spec/python/test_switch_cast.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a8cdbcf

Please # to comment.