Python unicode_strings test case: restrict to Python > 3.0
Also adjust the test method names and content to match the docs.
This commit is contained in:
parent
20ddfb7fcd
commit
5c5dfc106f
2 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,7 @@
|
|||
import sys
|
||||
|
||||
import unicode_strings
|
||||
|
||||
unicode_strings.test_c_str()
|
||||
unicode_strings.test_std_string()
|
||||
if sys.version_info > (3, 0):
|
||||
unicode_strings.non_utf8_c_str()
|
||||
unicode_strings.non_utf8_std_string()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue