Fix typos in comments and docstring (#122720)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Xie Yanbo 2024-08-07 14:39:16 +08:00 committed by GitHub
parent 98dba73010
commit b6c80e21c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 11 deletions

View file

@ -1492,7 +1492,7 @@ class FPTest(NumberTest):
if a.itemsize==1:
self.assertEqual(a, b)
else:
# On alphas treating the byte swapped bit patters as
# On alphas treating the byte swapped bit patterns as
# floats/doubles results in floating-point exceptions
# => compare the 8bit string values instead
self.assertNotEqual(a.tobytes(), b.tobytes())