parent
0ec9413d67
commit
93bda10044
@ -0,0 +1,25 @@
|
||||
From a1e7ba3a69aa9b4974ae706fe4ae69c570d169c5 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dan.cermak@cgc-instruments.com>
|
||||
Date: Wed, 28 Aug 2019 23:12:21 +0200
|
||||
Subject: [PATCH] Add events attribute to MockApp
|
||||
|
||||
This fixes test failures with Sphinx 2.1.2
|
||||
---
|
||||
tests/test_renderer.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/test_renderer.py b/tests/test_renderer.py
|
||||
index 7fd2b98..f0348d8 100644
|
||||
--- a/tests/test_renderer.py
|
||||
+++ b/tests/test_renderer.py
|
||||
@@ -77,6 +77,7 @@ class MockApp(object):
|
||||
self.config.add('cpp_paren_attributes', [], 'env', ())
|
||||
self.config.add('cpp_index_common_prefix', [], 'env', ())
|
||||
self.registry = MockRegistry()
|
||||
+ self.events = None
|
||||
|
||||
def add_node(self, node):
|
||||
if not docutils.is_node_registered(node):
|
||||
--
|
||||
2.21.0
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (v4.13.0.post0.tar.gz) = 29d1a589349d92d4f8206b0ab9e321adc9a02df96883b94754aa7e4425d572c67407fca9de9bb5fae917f01bc81fdcf22c0118a0480afc0c796f14aa2f974b8f
|
||||
SHA512 (v4.13.1.tar.gz) = d5072c174568091c458cb4def2c2cbe942f79629866688092e242fc4af92a952f89275922babf88bcbf6f1a5c44a29e0326849ca1e1b9ead2beed1954ea2581c
|
||||
|
Loading…
Reference in new issue