Skip to content

Commit 6d71680

Browse files
committed
Fix test_em_config_filename on windows. NFC
1 parent d9d8137 commit 6d71680

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_other.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,9 @@ def test_em_config_missing_arg(self):
847847

848848
def test_em_config_filename(self):
849849
create_file('myconfig.py', f'''
850-
LLVM_ROOT = '{config.LLVM_ROOT}'
851-
BINARYEN_ROOT = '{config.BINARYEN_ROOT}'
852-
CACHE = '{os.path.abspath("cache")}'
850+
LLVM_ROOT = r'{config.LLVM_ROOT}'
851+
BINARYEN_ROOT = r'{config.BINARYEN_ROOT}'
852+
CACHE = r'{os.path.abspath("cache")}'
853853
print("filename", __file__)
854854
''')
855855
proc = self.run_process([EMAR, '--em-config', 'myconfig.py', '--version'], stdout=PIPE, stderr=PIPE)

0 commit comments

Comments
 (0)