{"library":"unittest2","type":"library","category":null,"description":"Unittest2 is a backport of the enhanced features from Python 2.7's `unittest` module to earlier Python versions (primarily Python 2.4-2.6, but later extending to 2.x and early 3.x versions). It provided modern `unittest` capabilities like improved assertion methods, test discovery, class/module-level fixtures, and `assertRaises` as a context manager for users on older Python environments. The project's last release was in 2015, making it largely obsolete for modern Python development.","language":"python","status":"abandoned","version":"1.1.0","tags":["testing","unittest","backport","python2"],"last_verified":"Fri May 22","install":[{"cmd":"pip install unittest2","imports":["from unittest2 import TestCase","import unittest2; unittest2.main()"]}],"homepage":"http://pypi.python.org/pypi/unittest2","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/unittest2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.8,"avg_import_s":0.12,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/unittest2/compatibility"}}