tests/test-check-interfaces.py
branchstable
changeset 37810 856f381ad74b
parent 37635 cc8c06835097
child 37814 265c122b69aa
equal deleted inserted replaced
37809:80695628adcb 37810:856f381ad74b
     1 # Test that certain objects conform to well-defined interfaces.
     1 # Test that certain objects conform to well-defined interfaces.
     2 
     2 
     3 from __future__ import absolute_import, print_function
     3 from __future__ import absolute_import, print_function
       
     4 
       
     5 from mercurial import encoding
       
     6 encoding.environ[b'HGREALINTERFACES'] = b'1'
     4 
     7 
     5 import os
     8 import os
     6 
     9 
     7 from mercurial.thirdparty.zope import (
    10 from mercurial.thirdparty.zope import (
     8     interface as zi,
    11     interface as zi,