관리-도구
편집 파일: testing_refleaks.pyo
� Du�ac @ s� d Z d d l Z d d l Z y d d l Z Wn e k rM d d l Z n Xy d d l Z Wn e k r} d d l Z n Xd e j f d � � YZ d e j f d � � YZ e e d � r� e Z e j Z n e j Z d � Z d S( s[ A subclass of unittest.TestCase which checks for reference leaks. To use: - Use testing_refleak.BaseTestCase instead of unittest.TestCase - Configure and compile Python with --with-pydebug If sys.gettotalrefcount() is not available (because Python was built without the Py_DEBUG option), then this module is a no-op and tests will run normally. i����Nt LocalTestResultc B s2 e Z d Z d � Z d � Z d � Z d � Z RS( sH A TestResult which forwards events to a parent object, except for Skips.c C s t j j | � | | _ d S( N( t unittestt TestResultt __init__t parent_result( t selfR ( ( sM /usr/lib/python2.7/site-packages/google/protobuf/internal/testing_refleaks.pyR : s c C s | j j | | � d S( N( R t addError( R t testt error( ( sM /usr/lib/python2.7/site-packages/google/protobuf/internal/testing_refleaks.pyR >