Skip to content

Commit 1159d10

Browse files
committed
[tests] logging Python and Django versions
1 parent dab1961 commit 1159d10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22
import logging
33
import os
4+
import platform
45
import sys
56
from os.path import dirname, abspath
67
from optparse import OptionParser
@@ -15,7 +16,10 @@
1516
if not settings.configured:
1617
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
1718

19+
print('\n\n')
20+
print(platform.python_version())
1821
print('Django {}'.format(django.VERSION))
22+
print('\n\n')
1923

2024
if django.VERSION >= (1, 7):
2125
django.setup()

0 commit comments

Comments
 (0)