We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc99dc8 commit 6b1fe28Copy full SHA for 6b1fe28
src/sage/tests/git.py
@@ -0,0 +1,10 @@
1
+"""
2
+Test that the Sage git repo is clean.
3
+
4
+sage: from sage.features import Executable
5
+sage: from sage.tests.cmdline import test_executable
6
+sage: if Executable(name='git', executable='git').is_present():
7
+....: (out, err, ret) = test_executable(["git", "status", "--porcelain"])
8
+....: if len(out) > 0:
9
+....: raise OSError('Git repo is not clean')
10
0 commit comments