diff options
Diffstat (limited to 'user/py3-wcwidth/run-tests.patch')
-rw-r--r-- | user/py3-wcwidth/run-tests.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/py3-wcwidth/run-tests.patch b/user/py3-wcwidth/run-tests.patch new file mode 100644 index 000000000..8d62e0962 --- /dev/null +++ b/user/py3-wcwidth/run-tests.patch @@ -0,0 +1,16 @@ +--- wcwidth-0.1.7/wcwidth/tests/test_core.py 2016-07-02 00:13:27.000000000 -0400 ++++ wcwidth-0.1.7/wcwidth/tests/test_core.py 2019-08-06 08:38:15.420011741 -0400 +@@ -136,3 +136,13 @@ def test_combining_spacing(): + # verify, + assert length_each == expect_length_each + assert length_phrase == expect_length_phrase ++ ++if __name__ == "__main__": ++ test_hello_jp() ++ test_wcswidth_substr() ++ test_null_width_0() ++ test_control_c0_width_negative_1() ++ test_combining_width_negative_1() ++ test_combining_cafe() ++ test_combining_enclosing() ++ test_combining_spacing() |