summaryrefslogtreecommitdiff
path: root/tests/test_environment.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-04-22 18:40:41 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-04-22 18:40:41 +0900
commite48335097cc9f6bc578d866348a54221983057de (patch)
tree30d9b3bf7594b2eb666f7c382e34b1789b228bb1 /tests/test_environment.py
parent5744c533611d667e11eb6b95934f388ac851f0b5 (diff)
downloadsphinx-git-e48335097cc9f6bc578d866348a54221983057de.tar.gz
Fix broken testcase
Diffstat (limited to 'tests/test_environment.py')
-rw-r--r--tests/test_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_environment.py b/tests/test_environment.py
index 5b5c166d3..b369d4609 100644
--- a/tests/test_environment.py
+++ b/tests/test_environment.py
@@ -24,7 +24,7 @@ def setup_module():
global app, env
app = TestApp(srcdir='root-envtest')
env = app.env
- env.set_warnfunc(lambda *args: warnings.append(args))
+ env.set_warnfunc(lambda *args, **kwargs: warnings.append(args))
def teardown_module():