https://github.com/pypa/readme_renderer/pull/325 --- readme_renderer-44.0/tests/fixtures/test_CommonMark_008.html.orig +++ readme_renderer-44.0/tests/fixtures/test_CommonMark_008.html @@ -1,9 +1,9 @@
Here is some Python code for a Dog:
class Dog(Animal):
- def __init__(self, name):
+class Dog(Animal):
+ def __init__(self, name):
self.name = name
- def make_sound(self):
+ def make_sound(self):
print('Ruff!')
dog = Dog('Fido')
--- readme_renderer-44.0/tests/fixtures/test_GFM_doublequotes.html.orig
+++ readme_renderer-44.0/tests/fixtures/test_GFM_doublequotes.html
@@ -1,7 +1,7 @@
This is normal text.
This is code text.
-def this_is_python():
+def this_is_python():
"""This is a docstring."""
pass
--- readme_renderer-44.0/tests/fixtures/test_GFM_highlight.html.orig
+++ readme_renderer-44.0/tests/fixtures/test_GFM_highlight.html
@@ -1,7 +1,7 @@
This is normal text.
This is code text.
-def this_is_python():
+def this_is_python():
pass
func ThisIsGo(){
--- readme_renderer-44.0/tests/fixtures/test_GFM_highlight_default_py.html.orig
+++ readme_renderer-44.0/tests/fixtures/test_GFM_highlight_default_py.html
@@ -1,4 +1,4 @@
-async def this_is_python():
+async def this_is_python():
pass
print(await this_is_python())
--- readme_renderer-44.0/tests/fixtures/test_GFM_malicious_pre.html.orig
+++ readme_renderer-44.0/tests/fixtures/test_GFM_malicious_pre.html
@@ -1,5 +1,5 @@
This is normal text.
-def this_is_python():
+def this_is_python():
"""This is a docstring."""
pass
<script type="text/javascript">alert('I am evil.');</script>
--- readme_renderer-44.0/tests/fixtures/test_rst_008.html.orig
+++ readme_renderer-44.0/tests/fixtures/test_rst_008.html
@@ -1,9 +1,9 @@
Here is some Python code for a Dog:
-class Dog(Animal):
- def __init__(self, name):
+class Dog(Animal):
+ def __init__(self, name):
self.name = name
- def make_sound(self):
+ def make_sound(self):
print('Ruff!')
dog = Dog('Fido')