Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Nov 12, 2024
1 parent cfdad64 commit 93d58a9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bin/check_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,4 @@ class Block:
print("-"*10)
f.write(block.content)
f.flush()
pypath = ROOT_DIR
try:
pypath += f"{os.pathsep}{os.environ['PYTHONPATH']}"
except KeyError:
pass
subprocess.check_call(["python", f.name], env={'PYTHONPATH': pypath}, cwd=tmp_dir)
assert skipped == 7, skipped
subprocess.check_call(["python", f.name], env={**os.environ, 'PYTHONPATH': ROOT_DIR}, cwd=tmp_dir)

0 comments on commit 93d58a9

Please sign in to comment.