make test: don't rely on cPython GC to close fds
authorKlement Sekera <[email protected]>
Tue, 11 Apr 2017 04:01:53 +0000 (06:01 +0200)
committerDamjan Marion <[email protected]>
Wed, 12 Apr 2017 17:12:58 +0000 (17:12 +0000)
commit027dbd528827c8cce6d07cf806694d2b0d53498e
tree7615744d563f901b1b4792f2d39d87d102eb210d
parent6a0946f078183361a5b757f6405165089b659c5c
make test: don't rely on cPython GC to close fds

This code improvement allows running in pypy (and other interpreters)
without exhausting file descriptors.

Change-Id: Icb692a0fe1343c12cbbb15af6c58753420e74330
Signed-off-by: Klement Sekera <[email protected]>
test/framework.py