File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def test_named_expression_invalid_rebinding_comprehension_inner_loop(self):
166
166
with self .assertRaisesRegex (SyntaxError , msg ):
167
167
exec (f"lambda: { code } " , {}) # Function scope
168
168
169
- @unittest .expectedFailure # TODO RustPythonskip
169
+ @unittest .expectedFailure # TODO RustPython
170
170
def test_named_expression_invalid_comprehension_iterable_expression (self ):
171
171
cases = [
172
172
("Top level" , "[i for i in (i := range(5))]" ),
Original file line number Diff line number Diff line change
1
+
2
+ # Pre Delivery Check - or PDC for short - runs all build and check steps.
3
+ # The intension is to run all checks before delivering (or raising a PR or commiting or what ever you want to use it for).
4
+ #
5
+ # PDC executes all of the configured actions in the given order and reports which of them failed,
6
+ # without stopping in case of an fail.
7
+ # The actions in the given version are the RustPython CI steps plus a debug build in advance.
8
+ # So you can run all of the checks in advance with one command.
9
+ #
10
+ # If you want to customize it or adapt the checks, just add or remove it from/ to the ACTIONS
11
+
12
+
13
+ ACTIONS=(" cargo build" " cargo build --release" " cargo fmt --all" " cargo clippy --all -- -Dwarnings" " cargo test --all" " cargo run --release -- -m test -v" " cd tests" " pytest" " cd .." )
14
+
15
+ # Usually, there should be no need to adapt the remaining file, when adding or removing actions.
16
+
17
+
1
18
RUSTPYTHONPATH=Lib
2
19
export RUSTPYTHONPATH
3
20
4
- ACTIONS=(" cargo build" " cargo build --release" " cargo fmt --all" " cargo clippy --all -- -Dwarnings" " cargo test --all" " cargo run --release -- -m test -v" " cd tests" " pytest" " cd .." )
5
21
ACT_RES=0
6
22
FAILS=()
7
23
You can’t perform that action at this time.
0 commit comments