nbval
nbval copied to clipboard
Fix ResourceWarning about unclosed file '/dev/null'
I ran into this during a Github Actions run using pytest with filterwarnings = error
(see https://github.com/pynucastro/pynucastro/actions/runs/6818949071/job/18545482250?pr=689#step:8:446 for an example).