diff options
author | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-31 09:49:38 -0700 |
---|---|---|
committer | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-31 09:49:38 -0700 |
commit | 2c9056133ae488b2534c61485e92007a525a0a30 (patch) | |
tree | dafe388a24d8a4122cf8db252dd2a4e28672a238 | |
parent | 59af55c90bf30719888164627a8e619a6b9c3b34 (diff) |
More fiddling with python version string.
-rw-r--r-- | tests/features/environment.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/features/environment.py b/tests/features/environment.py index d887115d..3e3e1f51 100644 --- a/tests/features/environment.py +++ b/tests/features/environment.py @@ -19,10 +19,9 @@ def before_all(context): context.exit_sent = False - vi = sys.version_info + vi = '_'.join([str(x) for x in sys.version_info[:3]]) db_name = context.config.userdata.get('pg_test_db', None) - db_name_full = '{0}_{1}_{2}_{3}'.format( - db_name, vi.major, vi.minor, vi.micro) + db_name_full = '{0}_{1}'.format(db_name, vi) # Store get params from config. context.conf = { |