Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skipped a test that errors rather than marked it as an expectedFailure.

The test throws an error which Python 3.4 doesn't seem to catch as an
expectedFailure.

refs 7476d96
  • Loading branch information...
commit c170c3761bf230e5891940b0fd9b2a9af20a41ae 1 parent b077ba7
@timgraham timgraham authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/serializers_regress/tests.py
View
5 tests/serializers_regress/tests.py
@@ -10,7 +10,7 @@
import datetime
import decimal
-from unittest import expectedFailure, skipUnless
+from unittest import skip, skipUnless
import warnings
try:
@@ -482,8 +482,7 @@ def serializerTest(format, self):
self.assertEqual(count, klass.objects.count())
if connection.vendor == 'mysql' and six.PY3:
- # Existing MySQL DB-API drivers fail on binary data.
- serializerTest = expectedFailure(serializerTest)
+ serializerTest = skip("Existing MySQL DB-API drivers fail on binary data.")(serializerTest)
def naturalKeySerializerTest(format, self):

0 comments on commit c170c37

Please sign in to comment.
Something went wrong with that request. Please try again.