Skip to content

Commit 679689c

Browse files
unittest post, style and category fix
unittest post, style and category fix
2 parents bc5828c + 039af81 commit 679689c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: _layouts/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<!-- list of posts where category is "featured" -->
8181
<ul class="list-unstyled">
8282
{%- for post in site.categories.featured limit:3 -%}
83-
<li class="mt-1"> <a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a></li>
83+
<li class="mt-1"> <a href="{{ post.permalink | permalink }}"> {{ post.title | escape }} </a></li>
8484
{%- endfor -%}
8585
</ul>
8686
</div>

Diff for: _posts/2020-04-05-how-to-contribute-by-cpython-unittest.markdown

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
layout: post
33
title: "How to contribute to RustPython by CPython unittest"
44
date: 2020-04-05 01:45:00 +0900
5-
categories: guideline, featured
5+
categories: [guideline, featured]
6+
permalink: guideline/2020/04/04/how-to-contribute-by-cpython-unittest.html
67
---
78

89
At the very end of 2019, we finally reached one of the short-term goals: CPython unittest support. Due to this enhancement, finding CPython compatibility is easier than before.
@@ -20,9 +21,7 @@ Let's find an incompatibility issue and fix it.
2021

2122
Here is a quick tip to run single unittest file.
2223

23-
```sh
24-
$ RUSTPYTHONPATH=Lib cargo run --release Lib/test/test_unicode.py
25-
```
24+
`$ RUSTPYTHONPATH=Lib cargo run --release Lib/test/test_unicode.py`
2625

2726
## Add a new unittest file
2827
Because CPython unittest is not perfectly working in RustPython, we are doing this one by one with editings.

0 commit comments

Comments
 (0)