Don't leave dangling file descriptor in selftest
authorJeremy Stanley <fungi@yuggoth.org>
Sat, 17 Apr 2021 15:59:18 +0000 (15:59 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sat, 17 Apr 2021 15:59:18 +0000 (15:59 +0000)
Use context management when opening the configuration file in
selftests so that its file descriptor will be cleaned up as soon as
loading completes.


No differences found