fix exception type in test
This commit is contained in:
parent
18a5a897f1
commit
410a99b33e
@ -54,7 +54,7 @@ except NotImplementedError:
|
|||||||
# str(...) with keywords not implemented
|
# str(...) with keywords not implemented
|
||||||
try:
|
try:
|
||||||
str(b"abc", encoding="utf8")
|
str(b"abc", encoding="utf8")
|
||||||
except TypeError:
|
except NotImplementedError:
|
||||||
print("TypeError")
|
print("TypeError")
|
||||||
|
|
||||||
# str.rsplit(None, n) not implemented
|
# str.rsplit(None, n) not implemented
|
||||||
|
Loading…
Reference in New Issue
Block a user