Skip to content

Commit 07fdcb6

Browse files
authored
Fix for test future.py test annotations (#5319)
* enable test fixed in parser * update parser dependency
1 parent ac08f44 commit 07fdcb6

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

Cargo.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ rustpython-stdlib = { path = "stdlib", default-features = false, version = "0.3.
3030
rustpython-sre_engine = { path = "vm/sre_engine", version = "0.3.1" }
3131
rustpython-doc = { git = "https://github.com/RustPython/__doc__", tag = "0.3.0", version = "0.3.0" }
3232

33-
rustpython-literal = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "a95045bc627b2fbf84caf4f010e521846be7b37f" }
34-
rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "a95045bc627b2fbf84caf4f010e521846be7b37f" }
35-
rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "a95045bc627b2fbf84caf4f010e521846be7b37f" }
36-
rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "a95045bc627b2fbf84caf4f010e521846be7b37f" }
37-
rustpython-format = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "a95045bc627b2fbf84caf4f010e521846be7b37f" }
33+
rustpython-literal = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "51b5f80ae3080dfec2db815a299a69873fb9ca65" }
34+
rustpython-parser-core = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "51b5f80ae3080dfec2db815a299a69873fb9ca65" }
35+
rustpython-parser = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "51b5f80ae3080dfec2db815a299a69873fb9ca65" }
36+
rustpython-ast = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "51b5f80ae3080dfec2db815a299a69873fb9ca65" }
37+
rustpython-format = { git = "https://github.com/RustPython/Parser.git", version = "0.3.1", rev = "51b5f80ae3080dfec2db815a299a69873fb9ca65" }
3838
# rustpython-literal = { path = "../RustPython-parser/literal" }
3939
# rustpython-parser-core = { path = "../RustPython-parser/core" }
4040
# rustpython-parser = { path = "../RustPython-parser/parser" }

Lib/test/test_future_stmt/test_future.py

-2
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ def _exec_future(self, code):
198198
)
199199
return scope
200200

201-
# TODO: RUSTPYTHON
202-
@unittest.expectedFailure
203201
def test_annotations(self):
204202
eq = self.assertAnnotationEqual
205203
eq('...')

0 commit comments

Comments
 (0)