# File ext/libxml/tests/tc_xml_parser.rb, line 162 def test_libxml_parser_io() File.open('rubynet.xml') do |f| assert_kind_of(IO, f) assert_kind_of(IO, @xp.io = f) assert_instance_of(XML::Document, @xp.parse) end # File.open end