Skip to content

Commit

Permalink
Don't ignore ResourceWarning
Browse files Browse the repository at this point in the history
Breaks UnitTest with Python 2.7
  • Loading branch information
rroemhild committed Jun 7, 2018
1 parent 14bcff0 commit 65ba44d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test_flask_ldapconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import time
import random
import string
import warnings
import unittest
import flask

Expand Down Expand Up @@ -79,8 +78,6 @@ class Account(User):
class LDAPConnTestCase(unittest.TestCase):

def setUp(self):
warnings.simplefilter("ignore", ResourceWarning)

app = flask.Flask(__name__)
app.config.from_object(__name__)
app.config.from_envvar('LDAP_SETTINGS', silent=True)
Expand Down

0 comments on commit 65ba44d

Please sign in to comment.