From 3a70733ce0734b123daa080e8e031c00ee85a4b8 2018-09-11 19:39:18
From: luz.paz <luzpaz@users.noreply.github.com>
Date: 2018-09-11 19:39:18
Subject: [PATCH] typos

Found via `codespell -q 3`
---

diff --git a/IPython/terminal/pt_inputhooks/qt.py b/IPython/terminal/pt_inputhooks/qt.py
index 7395ac3..2ceda6b 100644
--- a/IPython/terminal/pt_inputhooks/qt.py
+++ b/IPython/terminal/pt_inputhooks/qt.py
@@ -19,8 +19,8 @@ def inputhook(context):
                 if not _already_warned:
                     _already_warned = True
                     warnings.warn(
-                        'The DISPLAY or WAYLAND_DISPLAY enviroment variable is '
-                        'not set or empty and Qt5 requires this enviroment '
+                        'The DISPLAY or WAYLAND_DISPLAY environment variable is '
+                        'not set or empty and Qt5 requires this environment '
                         'variable. Deactivate Qt5 code.'
                     )
                 return
diff --git a/IPython/testing/plugin/test_refs.py b/IPython/testing/plugin/test_refs.py
index bd33942..bd7ad8f 100644
--- a/IPython/testing/plugin/test_refs.py
+++ b/IPython/testing/plugin/test_refs.py
@@ -21,7 +21,7 @@ def doctest_run():
     """
 
 def doctest_runvars():
-    """Test that variables defined in scripts get loaded correclty via %run.
+    """Test that variables defined in scripts get loaded correctly via %run.
 
     In [13]: run simplevars.py
     x is: 1