Skip to content

Commit

Permalink
#57 - hackish way to mage ruamel work on github
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Oct 19, 2024
1 parent 16db5f5 commit d51f082
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_ruamel_yaml_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import os
import logging
import platform
from ruamel.yaml import YAML
try:
from ruamel_yaml import YAML
except ModuleNotFoundError:
from ruamel.yaml import YAML

basepath = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(0, os.path.dirname(basepath))
Expand Down

0 comments on commit d51f082

Please sign in to comment.