We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c3a62 commit 0093a19Copy full SHA for 0093a19
Lib/test/test_utf8source.py
@@ -15,7 +15,7 @@ def test_pep3120(self):
15
)
16
17
# TODO: RUSTPYTHON
18
- @unittest.expectedFailure # "badsyntax_pep3120.py" may make the WASM CI fail
+ @unittest.expectedFailure
19
def test_badsyntax(self):
20
try:
21
import test.badsyntax_pep3120
derive/src/compile_bytecode.rs
@@ -183,12 +183,16 @@ impl CompilationSource {
183
}
184
185
Err(e)
186
- })?;
+ });
187
+
188
+ if code.is_err() && stem.starts_with("badsyntax_") {
189
+ continue;
190
+ }
191
192
code_map.insert(
193
module_name,
194
FrozenModule {
- code,
195
+ code: code?,
196
package: is_init,
197
},
198
);
0 commit comments