Skip to content

Commit 8326140

Browse files
committed
Use previously declared SAGE_SRC
1 parent 2af5fdb commit 8326140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/sage-runtests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ if __name__ == "__main__":
172172
if args.verbose:
173173
pytest_options.append("-v")
174174

175-
# #35999: no filenames in arguments is equivalent to "src"
175+
# #35999: no filename in arguments defaults to "src"
176176
if not args.filenames:
177-
filenames = [os.environ.get('SAGE_SRC')]
177+
filenames = [SAGE_SRC]
178178
else:
179179
# #31924: Do not run pytest on individual Python files unless
180180
# they match the pytest file pattern. However, pass names

0 commit comments

Comments
 (0)