Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py
index b4e4e9d..efcd1d2 100644
--- a/Lib/test/test_py3kwarn.py
+++ b/Lib/test/test_py3kwarn.py
@@ -270,7 +270,7 @@
             class NoWarningOnlyHash(object):
                 def __hash__(self): pass
             self.assertEqual(len(w.warnings), 0)
-            # With an intermediate class in the heirarchy
+            # With an intermediate class in the hierarchy
             class DefinesAllThree(object):
                 def __cmp__(self, other): pass
                 def __eq__(self, other): pass