summaryrefslogtreecommitdiff
path: root/lib/rubygems/test_case.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-07-08 21:13:33 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commit06f84d05678aa516c9bc97719eff44e4355d3c59 (patch)
treec87ba31f253ef170f2654dc92a8835983eed3ca8 /lib/rubygems/test_case.rb
parentd0cc4ecb8f6a30b340d06e9ef1cf90264eba675a (diff)
[rubygems/rubygems] Don't `super` on main test setup
The `teardown` method doesn't call it either and I don't think it's necessary. https://github.com/rubygems/rubygems/commit/ca2a5d485d
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/test_case.rb')
-rw-r--r--lib/rubygems/test_case.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index a70a1055de..14d080e29f 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -289,8 +289,6 @@ class Gem::TestCase < Minitest::Test
# or <tt>i686-darwin8.10.1</tt> otherwise.
def setup
- super
-
@orig_env = ENV.to_hash
@tmp = File.expand_path("tmp")