@with_setup(prepare_stdout, registry.clear)
def test_jsonreport_output_with_unicode_and_bytestring():
 with check_jsonreport(u'xunit_unicode_and_bytestring_mixing'):
  runner = Runner(feature_name(u'xunit_unicode_and_bytestring_mixing'), enable_jsonreport=True)
  runner.run()

@ with_setup ( prepare_stdout , registry . clear ) def test_jsonreport_output_with_unicode_and_bytestring ( ) : with check_jsonreport ( u'xunit_unicode_and_bytestring_mixing' ) : runner = Runner ( feature_name ( u'xunit_unicode_and_bytestring_mixing' ) , enable_jsonreport = True ) runner . run ( )
test jsonreport output with unicode and bytestring .