mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-08 12:08:13 -05:00
Add methods for accessing the git commit used when compiling
This commit is contained in:
@@ -72,7 +72,9 @@ class TestResult(unittest.TextTestResult):
|
||||
|
||||
if __name__ == '__main__':
|
||||
print('\n* INFO: using Cantera module found at this location:')
|
||||
print('* ', repr(cantera.__file__), '\n')
|
||||
print('* ', repr(cantera.__file__))
|
||||
print('* INFO: Cantera version:', cantera.__version__)
|
||||
print('* INFO: Git commit:', cantera.__git_commit__, '\n')
|
||||
sys.stdout.flush()
|
||||
|
||||
loader = unittest.TestLoader()
|
||||
|
||||
Reference in New Issue
Block a user