Skip to content

Commit

Permalink
Fixes import
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Sklar committed Nov 19, 2018
1 parent 0903a7f commit ff3552e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_echo_to_stream.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import os
from unittest.mock import MagicMock
if sys.version_info >= (3.0, 0.0):
from unittest.mock import MagicMock
else:
from mock import MagicMock

from django.core.mail import EmailMessage
from django.test import override_settings
Expand Down

0 comments on commit ff3552e

Please sign in to comment.