summaryrefslogtreecommitdiff
path: root/test/thread/test_cv.rb
diff options
context:
space:
mode:
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