[Piglit] [PATCH 1/6] unittests: fix typo that breaks fallback import of mock

Dylan Baker dylan at pnwbakers.com
Sat Aug 6 00:19:14 UTC 2016


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 unittests/framework/backends/test_json.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py
index 3f2731b..e6574a6 100644
--- a/unittests/framework/backends/test_json.py
+++ b/unittests/framework/backends/test_json.py
@@ -31,7 +31,7 @@ except ImportError:
 try:
     import mock
 except ImportError:
-    from unittests import mock
+    from unittest import mock
 
 import jsonschema
 import pytest
-- 
git-series 0.8.7


More information about the Piglit mailing list