summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_array.py')
-rw-r--r--Lib/test/test_array.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py
index e7cddf2..18f78d5 100644
--- a/Lib/test/test_array.py
+++ b/Lib/test/test_array.py
@@ -43,8 +43,9 @@ class MiscTest(unittest.TestCase):
@support.cpython_only
def test_disallow_instantiation(self):
my_array = array.array("I")
- tp = type(iter(my_array))
- support.check_disallow_instantiation(self, tp, my_array)
+ support.check_disallow_instantiation(
+ self, type(iter(my_array)), my_array
+ )
@support.cpython_only
def test_immutable(self):