Commits

Jason R. Coombs committed 26d7831

Fixed NameError if init was called.

  • Participants
  • Parent commits fc66dd7
  • Tags 1.0.5

Comments (0)

Files changed (2)

jaraco/modb/__init__.py

+import warnings
+
 import jsonpickle.pickler
 import jsonpickle.unpickler
 import pymongo.binary

tests/test_main.py

 	assert 'MyDict' in str(encoded)
 	decoded = jaraco.modb.decode(encoded)
 	assert isinstance(decoded, MyDict)
+
+def test_init():
+	"Init should do nothing, not cause errors"
+	jaraco.modb.init()