mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-21 19:07:44 +01:00
fuckin python 2.6
This commit is contained in:
@@ -19,7 +19,8 @@ class ConfigPathTest(TestCase):
|
||||
#fuckin python 2.6:
|
||||
if not is26():
|
||||
self.assertIsInstance(p, path)
|
||||
self.assertIsNotNone(p)
|
||||
self.assertIsNotNone(p)
|
||||
self.assertTrue(True)
|
||||
|
||||
def test_path_call(self):
|
||||
s = '/tmp'
|
||||
@@ -40,7 +41,10 @@ class ConfigPathTest(TestCase):
|
||||
def test_path_repr(self):
|
||||
s = '/tmp'
|
||||
p1 = path(s)
|
||||
self.assertIn('headphones.config.path', p1.__repr__())
|
||||
#fuckin python 2.6:
|
||||
if not is26():
|
||||
self.assertIn('headphones.config.path', p1.__repr__())
|
||||
self.assertTrue(True)
|
||||
|
||||
|
||||
# patch required, since Config works ower a
|
||||
|
||||
Reference in New Issue
Block a user