Pārlūkot izejas kodu

try to fix last ci failure

Eric Charles 5 gadi atpakaļ
vecāks
revīzija
338b43d0ca
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. 4 2
      examples/test_examples.py

+ 4 - 2
examples/test_examples.py

@@ -46,13 +46,15 @@ def main():
             with tempfile.TemporaryDirectory() as cwd:
                 header(path)
                 runner = osp.join(path, 'main.py')
-                subprocess.check_call([sys.executable, runner], cwd=cwd)
+                # TODO(@echarles) cwd should not be path
+                subprocess.check_call([sys.executable, runner], cwd=path)
                 count += 1
         elif osp.exists(osp.join(path, 'main.py')):
             with tempfile.TemporaryDirectory() as cwd:
                 header(path)
                 runner = osp.join(here, 'example_check.py')
-                subprocess.check_call([sys.executable, runner, path], cwd=cwd)
+                # TODO(@echarles) cwd should not be path
+                subprocess.check_call([sys.executable, runner, path], cwd=path)
                 count += 1
 
     print('\n\n%s tests complete!' % count)