unicode_strings_runme.py: fix version check
Python 3.0.1 shouldn't pass.
This commit is contained in:
parent
2533d0210f
commit
ab527b0e4b
1 changed files with 1 additions and 1 deletions
|
|
@ -7,6 +7,6 @@ import unicode_strings
|
|||
# mark this as a unicode string in 2.x so it'll become a str in 3.x.
|
||||
test_string = u'h\udce9llo w\u00f6rld'
|
||||
|
||||
if sys.version_info > (3, 0):
|
||||
if sys.version_info[0:2] >= (3, 1):
|
||||
assert unicode_strings.non_utf8_c_str() == test_string
|
||||
assert unicode_strings.non_utf8_std_string() == test_string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue