| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,7 +80,7 @@ | |||
| 80 | 80 | <!-- list of posts where category is "featured" --> | |
| 81 | 81 | <ul class="list-unstyled"> | |
| 82 | 82 | {%- 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> | ||
| 84 | 84 | {%- endfor -%} | |
| 85 | 85 | </ul> | |
| 86 | 86 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,8 @@ | |||
| 2 | 2 | layout: post | |
| 3 | 3 | title: "How to contribute to RustPython by CPython unittest" | |
| 4 | 4 | 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 | ||
| 6 | 7 | --- | |
| 7 | 8 | ||
| 8 | 9 | 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. | |||
| 20 | 21 | ||
| 21 | 22 | Here is a quick tip to run single unittest file. | |
| 22 | 23 | ||
| 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` | ||
| 26 | 25 | ||
| 27 | 26 | ## Add a new unittest file | |
| 28 | 27 | Because CPython unittest is not perfectly working in RustPython, we are doing this one by one with editings. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments