tests: Adjust tests enforcing incorrect behaviour

In 1a001cae, double json-decoding of the attribute values was removed,
and as such we need to adjust tests to actually enforce correct
behaviour.
This commit is contained in:
Tomas Babej 2020-12-31 14:38:14 -05:00
parent 1a001caedd
commit 9753e22d0c
No known key found for this signature in database
GPG key ID: B0747C6578F7D2F5
2 changed files with 8 additions and 10 deletions

View file

@ -74,7 +74,7 @@ class TestBug880(TestCase):
def test_backslash_at_eol(self):
"""880: Backslash at end of description/annotation causes problems"""
self.t("add one\\\\\\\\")
self.t(r"add one\\")
code, out, err = self.t("_get 1.description")
self.assertEqual("one\\\n", out)