summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_statistics.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-03-25 20:01:13 (GMT)
committerGitHub <noreply@github.com>2019-03-25 20:01:13 (GMT)
commitd1e768a67707bf7bb426c1537e1a764e89eaff78 (patch)
treeeba1dc9c8a257e8c9fec36cef006eb06498d54ee /Lib/test/test_statistics.py
parent713a8ae7926472b02ee1a394633eb54aaa7912d1 (diff)
downloadcpython-d1e768a67707bf7bb426c1537e1a764e89eaff78.zip
cpython-d1e768a67707bf7bb426c1537e1a764e89eaff78.tar.gz
cpython-d1e768a67707bf7bb426c1537e1a764e89eaff78.tar.bz2
bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)
Diffstat (limited to 'Lib/test/test_statistics.py')
-rw-r--r--Lib/test/test_statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_statistics.py b/Lib/test/test_statistics.py
index 485ffe2..7f7839d 100644
--- a/Lib/test/test_statistics.py
+++ b/Lib/test/test_statistics.py
@@ -2051,7 +2051,7 @@ class TestNormalDist(unittest.TestCase):
nd = statistics.NormalDist(300, 23)
with self.assertRaises(TypeError):
vars(nd)
- self.assertEqual(nd.__slots__, ('mu', 'sigma'))
+ self.assertEqual(tuple(nd.__slots__), ('mu', 'sigma'))
def test_instantiation_and_attributes(self):
nd = statistics.NormalDist(500, 17)