diff options
| author | Tom Christie | 2014-11-03 14:14:12 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-11-03 14:14:12 +0000 | 
| commit | 2b535954cdfb050f96588c60d45664b3802dcc25 (patch) | |
| tree | c5293855d59c34c29092a9794b609b3636ba1c4d /tests | |
| parent | 003c42b0f51f9bfa93964be69fb8cb68b7394280 (diff) | |
| download | django-rest-framework-2b535954cdfb050f96588c60d45664b3802dcc25.tar.bz2 | |
Py2/3 compat for validation test
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_validation.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/test_validation.py b/tests/test_validation.py index 1b6aa358..c278d90f 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -89,7 +89,7 @@ class TestAvoidValidation(TestCase):          self.assertFalse(serializer.is_valid())          self.assertDictEqual(serializer.errors, {              'non_field_errors': [ -                'Invalid data. Expected a dictionary, but got unicode.' +                'Invalid data. Expected a dictionary, but got %s.' % type('').__name__              ]          }) | 
