diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2018-05-14 14:06:16 -0400 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2018-05-14 14:06:16 -0400 |
commit | 40bc0f17b2a4e6c215f0c70968e89928f260e685 (patch) | |
tree | adcdf51197d448ad204274caee2f441d840cc812 | |
parent | 15c293505749cb8d2e65a1034e4ff03d26db3cf5 (diff) | |
download | pyopenssl-git-40bc0f17b2a4e6c215f0c70968e89928f260e685.tar.gz |
Fixed a handful of typos (#755)
-rw-r--r-- | doc/ChangeLog_old.txt | 2 | ||||
-rw-r--r-- | tests/test_ssl.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/ChangeLog_old.txt b/doc/ChangeLog_old.txt index 214a26d..1a16d72 100644 --- a/doc/ChangeLog_old.txt +++ b/doc/ChangeLog_old.txt @@ -740,7 +740,7 @@ found at <https://pyopenssl.readthedocs.io/en/latest/changelog.html>. 2002-06-13 Martin Sjögren <martin@strakt.com> * src/ssl/context.c: Changed global_verify_callback so that it uses - PyObject_IsTrue instead of requring ints. + PyObject_IsTrue instead of requiring ints. * Added pymemcompat.h to make the memory management uniform and backwards-compatible. * src/util.h: Added conditional definition of PyModule_AddObject and diff --git a/tests/test_ssl.py b/tests/test_ssl.py index f36890d..87bd18c 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py @@ -1483,7 +1483,7 @@ class TestContext(object): @pytest.mark.parametrize('callback', [None, 1.0, 'mode', ('foo', 'bar')]) def test_set_verify_wrong_callable_arg(self, callback): """ - `Context.set_verify` raises `TypeError` if the the second argument + `Context.set_verify` raises `TypeError` if the second argument is not callable. """ context = Context(TLSv1_METHOD) |