summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-06-21 15:25:00 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-06-21 15:25:00 +0300
commitb258a6b92276594ace53509a43313c02b098f4be (patch)
tree9715694187cfc4c7de7f6c2a554f283978593a4d
parentfaf2ca0a71ed302086fab2b602000baabebda1d1 (diff)
downloadastroid-git-b258a6b92276594ace53509a43313c02b098f4be.tar.gz
Remove trailing whitespace and use the correct argument to require_version.
-rw-r--r--astroid/tests/unittest_inference.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/tests/unittest_inference.py b/astroid/tests/unittest_inference.py
index 056b8170..51321460 100644
--- a/astroid/tests/unittest_inference.py
+++ b/astroid/tests/unittest_inference.py
@@ -855,7 +855,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
inferred = next(node.infer())
self.assertEqual(inferred.value, expected_value)
- @test_utils.require_version(min_version='3.5')
+ @test_utils.require_version(minver='3.5')
def test_matmul(self):
node = test_utils.extract_node('''
class Array:
@@ -865,7 +865,7 @@ class InferenceTest(resources.SysPathSetup, unittest.TestCase):
''')
inferred = next(node.infer())
self.assertIsInstance(inferred, nodes.Const)
- self.assertEqual(inferred.value, 42)
+ self.assertEqual(inferred.value, 42)
def test_binary_op_int_add(self):
ast = builder.string_build('a = 1 + 2', __name__, __file__)