diff options
author | andy <andy@whiskeymedia.com> | 2013-04-27 12:30:20 -0700 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2013-04-27 12:30:20 -0700 |
commit | 979ba3a54540520eb03568acfa065f8631a5c3f0 (patch) | |
tree | d6489fddf481951d4eb70f01124a2a34182d716e /tests/server_commands.py | |
parent | ace00e093bdf77857e62b9bcef3b66f74d1a5604 (diff) | |
download | redis-py-979ba3a54540520eb03568acfa065f8631a5c3f0.tar.gz |
testing redis version on travis
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r-- | tests/server_commands.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py index 86d895d..ece6b56 100644 --- a/tests/server_commands.py +++ b/tests/server_commands.py @@ -135,6 +135,16 @@ class ServerCommandsTestCase(unittest.TestCase): self.assert_(isinstance(info, dict)) self.assertEquals(info['db9']['keys'], 2) + import sys + if sys.version_info[0] < 3: + print + print info['redis_version'] + print + else: + print('') + print(info['redis_version']) + print('') + def test_lastsave(self): self.assert_(isinstance(self.client.lastsave(), datetime.datetime)) |