From 6e2411ea572394b2084a1ef455ea598dc69ec55f Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Fri, 19 Aug 2022 15:24:56 +0900 Subject: [PATCH] Update unicode_names to 0.5.1 to fix crash --- Cargo.lock | 4 ++-- Lib/test/test_ucn.py | 1 - vm/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7bd3c09b4..abfd82126 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2674,9 +2674,9 @@ checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" [[package]] name = "unicode_names2" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eec8e807a365e5c972debc47b8f06d361b37b94cfd18d48f7adc715fb86404dd" +checksum = "029df4cc8238cefc911704ff8fa210853a0f3bce2694d8f51181dd41ee0f3301" [[package]] name = "utf8parse" diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py index 979882ab2..6d082a094 100644 --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -214,7 +214,6 @@ class UnicodeNamesTest(unittest.TestCase): self.assertRaises(TypeError, unicodedata.lookup) self.assertRaises(KeyError, unicodedata.lookup, 'unknown') - @unittest.skip("TODO: RUSTPYTHON") def test_strict_error_handling(self): # bogus character name self.assertRaises( diff --git a/vm/Cargo.toml b/vm/Cargo.toml index d4a94a413..955a45580 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -80,7 +80,7 @@ sre-engine = "0.4.1" # sre-engine = { path = "../../sre-engine" } ## unicode stuff -unicode_names2 = "0.5.0" +unicode_names2 = "0.5.1" # TODO: use unic for this; needed for title case: # https://github.com/RustPython/RustPython/pull/832#discussion_r275428939 unicode-casing = "0.1.0"