summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2021-11-28 23:04:59 -0500
committerJeff Forcier <jeff@bitprophet.org>2021-11-28 23:04:59 -0500
commit14fd03ec45fed0546aa01b1ef5ccf84508680e02 (patch)
tree631623cf5d5f74c1c994c0cf78f0d0a739beb01d
parent6346662358b5b0ef16706ed6f23c2282507f7bb8 (diff)
downloadparamiko-i-hate-my-life.tar.gz
No idea why the lack of this blew up on circle but not locallyi-hate-my-life
Probably the locales differ? sigh
-rw-r--r--tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index db5ade5a..9850f3c1 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -36,7 +36,7 @@ def requireNonAsciiLocale(category_name="LC_ALL"):
def _decorate_with_locale(category, try_locales, test_method):
"""Decorate test_method to run after switching to a different locale."""
- def _test_under_locale(testself):
+ def _test_under_locale(testself, sftp):
original = locale.setlocale(category)
while try_locales:
try: