Skip to content

unittest post, style and category fix #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<!-- list of posts where category is "featured" -->
<ul class="list-unstyled">
{%- for post in site.categories.featured limit:3 -%}
<li class="mt-1"> <a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a></li>
<li class="mt-1"> <a href="{{ post.permalink | permalink }}"> {{ post.title | escape }} </a></li>
{%- endfor -%}
</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
layout: post
title: "How to contribute to RustPython by CPython unittest"
date: 2020-04-05 01:45:00 +0900
categories: guideline, featured
categories: [guideline, featured]
permalink: guideline/2020/04/04/how-to-contribute-by-cpython-unittest.html
---

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.
Expand All @@ -20,9 +21,7 @@ Let's find an incompatibility issue and fix it.

Here is a quick tip to run single unittest file.

```sh
$ RUSTPYTHONPATH=Lib cargo run --release Lib/test/test_unicode.py
```
`$ RUSTPYTHONPATH=Lib cargo run --release Lib/test/test_unicode.py`

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