Skip to content

Commit 3092b18

Browse files
committed
Fix slashes in test file names on windows
1 parent 9ff6506 commit 3092b18

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python.test/src

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.test/src/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def get_tag_file(self):
742742
def configure_test_file(path: Path) -> TestFile:
743743
config = config_for_file(path)
744744
resolved = path.resolve().relative_to(config.configdir)
745-
name = str(resolved).removesuffix('.py')
745+
name = str(resolved).replace(os.sep, '/').removesuffix('.py')
746746
test_config = TestFileConfig()
747747
for rule in config.rules:
748748
if rule.matches(name):

0 commit comments

Comments
 (0)