From e060800e8e6e0c611f9439d746bd4da99a314b79 Mon Sep 17 00:00:00 2001
From: David Lord <davidism@gmail.com>
Date: Tue, 12 Feb 2019 08:32:59 -0800
Subject: [PATCH] fix tests for nightly and osx

---
 tests/test_utils.py | 12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/test_utils.py b/tests/test_utils.py
index 5a6a3f523..6de22b3d5 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -161,16 +161,16 @@ def test_unescape():
 
 
 def test_import_string():
-    import cgi
+    from datetime import date
     from werkzeug.debug import DebuggedApplication
-    assert utils.import_string('cgi.escape') is cgi.escape
-    assert utils.import_string(u'cgi.escape') is cgi.escape
-    assert utils.import_string('cgi:escape') is cgi.escape
+    assert utils.import_string('datetime.date') is date
+    assert utils.import_string(u'datetime.date') is date
+    assert utils.import_string('datetime:date') is date
     assert utils.import_string('XXXXXXXXXXXX', True) is None
-    assert utils.import_string('cgi.XXXXXXXXXXXX', True) is None
+    assert utils.import_string('datetime.XXXXXXXXXXXX', True) is None
     assert utils.import_string(u'werkzeug.debug.DebuggedApplication') is DebuggedApplication
     pytest.raises(ImportError, utils.import_string, 'XXXXXXXXXXXXXXXX')
-    pytest.raises(ImportError, utils.import_string, 'cgi.XXXXXXXXXX')
+    pytest.raises(ImportError, utils.import_string, 'datetime.XXXXXXXXXX')
 
 
 def test_import_string_attribute_error(tmpdir, monkeypatch):
