Minor code leftover to use while resolving issues with unclosed/unreleased resources
This commit is contained in:
1 parent
6626f94015
commit
87a30201e4
1 file changed
+3
@@ -34,6 +34,9 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
warnings.simplefilter("default", ResourceWarning)
|
warnings.simplefilter("default", ResourceWarning)
|
||||||
|
|
||||||
|
# import tracemalloc
|
||||||
|
# tracemalloc.start(3)
|
||||||
|
|
||||||
if sys.version_info < (3, 10):
|
if sys.version_info < (3, 10):
|
||||||
raise RuntimeError("Python 3.10 or higher is required")
|
raise RuntimeError("Python 3.10 or higher is required")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user