diff --git a/tests/test_project.py b/tests/test_project.py
index <HASH>..<HASH> 100644
--- a/tests/test_project.py
+++ b/tests/test_project.py
@@ -35,7 +35,7 @@ class ProjectTest(unittest.TestCase):
         with self.assertRaises(ConfigurationError):
             find_configs(package_root)
 
-    @patch('pathlib.Path')
+    @patch.object(pathlib, 'Path')
     @patch('ballet.project.find_configs')
     def test_config_get(self, mock_find_configs, mock_Path):
         config1 = {
Have to patch.object pathlib because of compat issues