Skip to content

Commit

Permalink
Fix a typo in tests/lib/configuration_helpers.py (#5858)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars authored and pradyunsg committed Oct 9, 2018
1 parent 47b94f1 commit f3d82aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/configuration_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def patch_configuration(self, variant, di):
old = self.configuration._load_config_files

@functools.wraps(old)
def overidden():
def overridden():
# Manual Overload
self.configuration._config[variant].update(di)
self.configuration._parsers[variant].append((None, None))
return old()

self.configuration._load_config_files = overidden
self.configuration._load_config_files = overridden

@contextlib.contextmanager
def tmpfile(self, contents):
Expand Down

0 comments on commit f3d82aa

Please sign in to comment.