diff --git a/conftest.py b/conftest.py
index <HASH>..<HASH> 100644
--- a/conftest.py
+++ b/conftest.py
@@ -1,14 +1,15 @@
 import py
 import pytest
-from fake_filesystem_unittest import _Patcher
+from pyfakefs.fake_filesystem_unittest import Patcher
 
-_Patcher.SKIPMODULES.add(py)  # Ignore pytest components when faking filesystem
+
+Patcher.SKIPMODULES.add(py)  # Ignore pytest components when faking filesystem
 
 
 @pytest.yield_fixture
 def fs():
     """ Fake filesystem. """
-    patcher = _Patcher()
+    patcher = Patcher()
     patcher.setUp()
     yield
     patcher.tearDown()
Change _Patcher to Patcher in conftest.py