mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
import mock_open
This commit is contained in:
parent
b21d897d30
commit
d5c58b4ac3
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@ import requests
|
|||
from plexapi.myplex import MyPlexAccount
|
||||
|
||||
try:
|
||||
from unittest.mock import patch, MagicMock
|
||||
from unittest.mock import patch, MagicMock, mock_open
|
||||
except ImportError:
|
||||
from mock import patch, MagicMock
|
||||
from mock import patch, MagicMock, mock_open
|
||||
|
||||
|
||||
import plexapi
|
||||
|
|
Loading…
Reference in a new issue