diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-03-25 20:01:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-25 20:01:13 (GMT) |
commit | d1e768a67707bf7bb426c1537e1a764e89eaff78 (patch) | |
tree | eba1dc9c8a257e8c9fec36cef006eb06498d54ee /Lib/test/test_statistics.py | |
parent | 713a8ae7926472b02ee1a394633eb54aaa7912d1 (diff) | |
download | cpython-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.py | 2 |
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) |