Skip to content

Commit c40e944

Browse files
author
Brandon Cazander
committed
Also don't import rest_framework.compat in tests. #3
1 parent b199688 commit c40e944

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from django.test import TestCase
77
from django.utils import unittest
8-
from rest_framework.compat import StringIO
8+
from django.utils.six.moves import StringIO
99
from rest_framework_xml.parsers import XMLParser
1010
from rest_framework_xml.compat import etree
1111

tests/test_renderers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from django.test import TestCase
88
from django.utils import unittest
9-
from rest_framework.compat import StringIO
9+
from django.utils.six.moves import StringIO
1010
from rest_framework_xml.renderers import XMLRenderer
1111
from rest_framework_xml.parsers import XMLParser
1212
from rest_framework_xml.compat import etree

0 commit comments

Comments
 (0)