def test_format_config():
 f = HTMLFormatter()
 cfg = Config()
 with capture_output() as captured:
  result = f(cfg)
 nt.assert_is(result, None)
 nt.assert_equal(captured.stderr, '')
 with capture_output() as captured:
  result = f(Config)
 nt.assert_is(result, None)
 nt.assert_equal(captured.stderr, '')

def test_format_config ( ) : f = HTMLFormatter ( ) cfg = Config ( ) with capture_output ( ) as captured : result = f ( cfg ) nt . assert_is ( result , None ) nt . assert_equal ( captured . stderr , '' ) with capture_output ( ) as captured : result = f ( Config ) nt . assert_is ( result , None ) nt . assert_equal ( captured . stderr , '' )
config objects dont pretend to support fancy reprs with lazy attrs .