summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Lange <jml@canonical.com>2011-10-31 12:30:52 -0400
committerJonathan Lange <jml@canonical.com>2011-10-31 12:30:52 -0400
commitde0589d1f0e80eb4814bb6930b9167893079666c (patch)
treebf6c80f7987fa227e3052587d1306ba357c61358
parent2c02337753705ff5572f98cf968c17e1f06fd9bb (diff)
downloadfixtures-de0589d1f0e80eb4814bb6930b9167893079666c.tar.gz
Upcall w/ super()
-rw-r--r--lib/fixtures/_fixtures/environ.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/fixtures/_fixtures/environ.py b/lib/fixtures/_fixtures/environ.py
index fe846e7..a0f36cc 100644
--- a/lib/fixtures/_fixtures/environ.py
+++ b/lib/fixtures/_fixtures/environ.py
@@ -1,12 +1,12 @@
# fixtures: Fixtures with cleanups for testing and convenience.
#
-# Copyright (c) 2010, Robert Collins <robertc@robertcollins.net>
-#
+# Copyright (c) 2010, 2011, Robert Collins <robertc@robertcollins.net>
+#
# Licensed under either the Apache License, Version 2.0 or the BSD 3-clause
# license at the users choice. A copy of both licenses are available in the
# project source as Apache-2.0 and BSD. You may not use this file except in
# compliance with one of these two licences.
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under these licenses is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -38,9 +38,9 @@ class EnvironmentVariableFixture(Fixture):
Fixture.__init__(self)
self.varname = varname
self.newvalue = newvalue
-
+
def setUp(self):
- Fixture.setUp(self)
+ super(EnvironmentVariableFixture, self).setUp()
varname = self.varname
orig_value = os.environ.get(varname)
if orig_value is not None: