summaryrefslogtreecommitdiff
path: root/test/thread/test_cv.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-08 07:00:01 +0000
commit6064132c42ffe99e9a0d3a6ba80a7932c6f7903d (patch)
tree98ea21370a09a06240cd88eef3320ef565240e02 /test/thread/test_cv.rb
parent838a91633c3a50f43bcc4ccec11b41b5a102fd90 (diff)
Remove unnecessary `require 'thread'`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/thread/test_cv.rb')
-rw-r--r--test/thread/test_cv.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/thread/test_cv.rb b/test/thread/test_cv.rb
index 7a34d7462b..702462606d 100644
--- a/test/thread/test_cv.rb
+++ b/test/thread/test_cv.rb
@@ -1,6 +1,5 @@
# frozen_string_literal: false
require 'test/unit'
-require 'thread'
require 'tmpdir'
class TestConditionVariable < Test::Unit::TestCase
@@ -94,8 +93,6 @@ class TestConditionVariable < Test::Unit::TestCase
def test_condvar_wait_deadlock
assert_in_out_err([], <<-INPUT, /\Afatal\nNo live threads left\. Deadlock/, [])
- require "thread"
-
mutex = Mutex.new
cv = ConditionVariable.new