Skip to content

Commit 6934c96

Browse files
authored
Enable test_glob (#1068)
1 parent 0ff7eab commit 6934c96

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

Src/IronPythonConsole/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<runtime>
4+
<AppContextSwitchOverrides value="Switch.System.IO.UseLegacyPathHandling=false" />
5+
</runtime>
6+
</configuration>

Src/IronPythonTest/Cases/CPythonCasesManifest.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,8 @@ NotParallelSafe=true
486486
Reason=Creates/deletes a directory with static name 'xx'
487487

488488
[CPython.test_glob]
489-
Ignore=true
490-
Reason=cannot use a string pattern on a bytes-like object
489+
RunCondition=NOT $(IS_POSIX) # TODO: figure out
490+
IsolationLevel=PROCESS # use app.config - https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/retargeting/4.6-4.6.2#changes-in-path-normalization
491491

492492
[CPython.test_grp]
493493
RunCondition=$(IS_POSIX)

0 commit comments

Comments
 (0)