fix exception type in test

This commit is contained in:
Jeff Epler 2023-10-02 08:52:43 -05:00
parent 18a5a897f1
commit 410a99b33e
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -54,7 +54,7 @@ except NotImplementedError:
# str(...) with keywords not implemented
try:
str(b"abc", encoding="utf8")
except TypeError:
except NotImplementedError:
print("TypeError")
# str.rsplit(None, n) not implemented