From f478e73f0474a0ec77e2657c6d3b626a8e5b4b35 Mon Sep 17 00:00:00 2001
From: akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Thu, 10 Jan 2008 10:35:52 +0000
Subject: [PATCH] make a test locale independent.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 test/ruby/test_io.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index de75bfd55c..3381cda8db 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -20,7 +20,7 @@ class TestIO < Test::Unit::TestCase
     r.close
 
     # "\377"
-    r, w = IO.pipe
+    r, w = IO.pipe('ascii-8bit')
     w.print "\377xyz"
     w.close
     r.binmode