Skip to content

Commit ef1246f

Browse files
committed
ngbng
1 parent 8f14833 commit ef1246f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
version: ["3.9", "3.12"]
2424
defaults:
2525
run:
26-
shell: bash -l {0}
26+
shell: bash -el {0}
2727

2828
runs-on: ${{ matrix.os }}
2929

tests/test_project.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,9 @@ def test_write_script(project, request, temp_dir, input_filename: str) -> None:
11201120
# Test the file is written in the correct place
11211121
script_path = Path(temp_dir, "test_script.py")
11221122
assert script_path.exists()
1123-
print(script_path.read_text())
1123+
11241124
# Test we get the project object we expect when running the script
1125-
with open(script_path) as f:
1126-
exec(f.read())
1127-
print(locals)
1125+
exec(script_path.read_text())
11281126
new_project = locals()["problem"]
11291127

11301128
for class_list in RATapi.project.class_lists:

0 commit comments

Comments
 (0)