summaryrefslogtreecommitdiff
path: root/src/tests/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test.py')
-rw-r--r--src/tests/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test.py b/src/tests/test.py
index 9428fa9..45a9b9b 100644
--- a/src/tests/test.py
+++ b/src/tests/test.py
@@ -41,12 +41,12 @@ class DocumentationTestCase(unittest.TestCase):
class ExtraTestCase(unittest.TestCase):
def test_qualname(self):
- if sys.version >= '3':
+ if sys.version >= '3.3':
self.assertEqual(doc.hello.__qualname__, 'hello')
else:
with assertRaises(AttributeError):
doc.hello.__qualname__
-
+
def test_signature(self):
if hasattr(inspect, 'signature'):
sig = inspect.signature(doc.f1)