From 035f6cf8238211d097c991677fde6b5bc046a57b Mon Sep 17 00:00:00 2001
From: Michael Merickel <github@m.merickel.org>
Date: Fri, 26 Oct 2018 02:58:42 +0200
Subject: [PATCH] Merge pull request #3400 from mmerickel/flake8-errors

---
 tests/test_scaffolds/test_template.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/test_scaffolds/test_template.py b/tests/test_scaffolds/test_template.py
index d9a2dfa..fc6b9f3 100644
--- a/tests/test_scaffolds/test_template.py
+++ b/tests/test_scaffolds/test_template.py
@@ -46,23 +46,23 @@
     def test_render_template_with_escaped_double_braces(self):
         inst = self._makeOne()
         result = inst.render_template(
-            '{{a}} {{b}} \{\{a\}\} \{\{c\}\}', {'a': '1', 'b': '2'}
+            '{{a}} {{b}} \\{\\{a\\}\\} \\{\\{c\\}\\}', {'a': '1', 'b': '2'}
         )
         self.assertEqual(result, bytes_('1 2 {{a}} {{c}}'))
 
     def test_render_template_with_breaking_escaped_braces(self):
         inst = self._makeOne()
         result = inst.render_template(
-            '{{a}} {{b}} \{\{a\} \{b\}\}', {'a': '1', 'b': '2'}
+            '{{a}} {{b}} \\{\\{a\\} \\{b\\}\\}', {'a': '1', 'b': '2'}
         )
-        self.assertEqual(result, bytes_('1 2 \{\{a\} \{b\}\}'))
+        self.assertEqual(result, bytes_('1 2 \\{\\{a\\} \\{b\\}\\}'))
 
     def test_render_template_with_escaped_single_braces(self):
         inst = self._makeOne()
         result = inst.render_template(
-            '{{a}} {{b}} \{a\} \{b', {'a': '1', 'b': '2'}
+            '{{a}} {{b}} \\{a\\} \\{b', {'a': '1', 'b': '2'}
         )
-        self.assertEqual(result, bytes_('1 2 \{a\} \{b'))
+        self.assertEqual(result, bytes_('1 2 \\{a\\} \\{b'))
 
     def test_module_dir(self):
         import sys

--
Gitblit v1.9.3