Last active
November 27, 2016 16:16
-
-
Save ssato/ca4b94f2679e25025cb8241c71912471 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [13]: sys.modules["yaml"] = None | |
In [14]: import anyconfig.backends | |
In [15]: anyconfig.backends.list_types() | |
Out[15]: | |
['bson', | |
'configobj', | |
'ini', | |
'json', | |
'msgpack', | |
'properties', | |
'shellvars', | |
'toml', | |
'xml'] | |
In [16]: import yaml | |
--------------------------------------------------------------------------- | |
ImportError Traceback (most recent call last) | |
<ipython-input-18-fc3d1333bd52> in <module>() | |
----> 1 import yaml | |
ImportError: No module named yaml | |
In [17]: del sys.modules["yaml"] | |
In [18]: import yaml | |
In [19]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment