aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2025-07-30 13:23:23 +0100
committerGravatar GitHub <[email protected]>2025-07-30 13:23:23 +0100
commitc29eb01164db078485e4884ff5705c26868eaf53 (patch)
treeab3e2e27b516f5f856b79e4e7b403ebbca2361b4 /tests/test_nsjail.py
parentMerge pull request #237 from python-discord/pin-3.14-dev-version (diff)
parentInstall fishhook now that it supports 3.13 (diff)
Merge pull request #238 from python-discord/bump-to-latest
Upgrade Python versions & eval-deps
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r--tests/test_nsjail.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py
index 6764f1e..01be592 100644
--- a/tests/test_nsjail.py
+++ b/tests/test_nsjail.py
@@ -458,6 +458,8 @@ class NsJailTests(unittest.TestCase):
shm = SharedMemory(create=True, size={shm_size})
shm.buf[:{buffer_size}] = bytearray([1] * {buffer_size})
+ shm.close()
+ shm.unlink()
"""
).strip()