remove references to nose

This commit is contained in:
Bastien Gérard
2019-09-01 15:27:11 +03:00
parent bc0c55e49a
commit 799cdafae6
10 changed files with 37 additions and 61 deletions

View File

@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import sys
from unittest import SkipTest
import pytest
@@ -46,11 +45,6 @@ class TestEmailField(MongoDBTestCase):
user.validate()
def test_email_field_unicode_user(self):
# Don't run this test on pypy3, which doesn't support unicode regex:
# https://bitbucket.org/pypy/pypy/issues/1821/regular-expression-doesnt-find-unicode
if sys.version_info[:2] == (3, 2):
raise SkipTest("unicode email addresses are not supported on PyPy 3")
class User(Document):
email = EmailField()