Commit f763227c authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Fixes a Python 3.x regression introduced in a19e9d80

parent 5915800d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
import io

from django.core import management
from django.test import TestCase
from django.utils import six


class ModelValidationTest(TestCase):
@@ -11,4 +10,4 @@ class ModelValidationTest(TestCase):
        # Validation Tests:
        #   * choices= Iterable of Iterables
        #       See: https://code.djangoproject.com/ticket/20430
        management.call_command("validate", stdout=io.BytesIO())
        management.call_command("validate", stdout=six.StringIO())