Fixed typos: 'wtih' instead of 'with' (#28166)

This commit is contained in:
Martin Diehl 2021-12-28 09:45:43 +01:00 committed by GitHub
parent 2f5c8ee699
commit 3cd599d6f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -1237,7 +1237,7 @@ def make_stack(tb, stack=None):
class InstallError(spack.error.SpackError):
"""Raised by packages when a package fails to install.
Any subclass of InstallError will be annotated by Spack wtih a
Any subclass of InstallError will be annotated by Spack with a
``pkg`` attribute on failure, which the caller can use to get the
package for which the exception was raised.
"""

View file

@ -69,7 +69,7 @@
hdf5 @B{+mpi} hdf5 with mpi enabled
hdf5 @r{~mpi} hdf5 with mpi disabled
hdf5 @B{+mpi} ^mpich hdf5 with mpi, using mpich
hdf5 @B{+mpi} ^openmpi@c{@1.7} hdf5 wtih mpi, using openmpi 1.7
hdf5 @B{+mpi} ^openmpi@c{@1.7} hdf5 with mpi, using openmpi 1.7
boxlib @B{dim=2} boxlib built for 2 dimensions
libdwarf @g{%intel} ^libelf@g{%gcc}
libdwarf, built with intel compiler, linked to libelf built with gcc

View file

@ -632,7 +632,7 @@ def test_upgrade_read_to_write(private_lock_path):
upgrade is possible.
"""
# ensure lock file exists the first time, so we open it read-only
# to begin wtih.
# to begin with.
touch(private_lock_path)
lock = lk.Lock(private_lock_path)
@ -665,7 +665,7 @@ def test_upgrade_read_to_write_fails_with_readonly_file(private_lock_path):
# ensure lock file exists the first time
touch(private_lock_path)
# open it read-only to begin wtih.
# open it read-only to begin with.
with read_only(private_lock_path):
lock = lk.Lock(private_lock_path)
assert lock._reads == 0