aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cucutags.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2016-05-16 12:23:39 +0200
committerMatěj Cepl <mcepl@cepl.eu>2016-05-16 12:36:04 +0200
commit4545077c547825f2ab5a4704f826e3537baa1fb7 (patch)
treebe98248b69505e5be3e3f29c047f86c23da343b7 /test/test_cucutags.py
parent6bc7d7331bb4eedc8657749f33379e817e56e8a6 (diff)
downloadcucutags-4545077c547825f2ab5a4704f826e3537baa1fb7.tar.gz
Add .travis.yml
Also, fix install_requires (not requires, as I called it before)
Diffstat (limited to 'test/test_cucutags.py')
-rw-r--r--test/test_cucutags.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_cucutags.py b/test/test_cucutags.py
index c8d2ce5..5528516 100644
--- a/test/test_cucutags.py
+++ b/test/test_cucutags.py
@@ -18,7 +18,8 @@ class TestCucutags(unittest.TestCase):
def test_init_session(self):
"""Just initialize Session from data in the data
subdirectory."""
- self.assertIsInstance(self.session, cucutags.Session)
+ # We cannot use assertIsInstance because of 2.6 compatibility
+ self.assertTrue(isinstance(self.session, cucutags.Session))
def test_generate_tags(self):
"""Generate tags and compare with expected result."""