This file contains 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
from __future__ import print_function | |
import os | |
import requests | |
import ruamel.yaml | |
with open(os.path.expanduser('~/.conda-smithy/circle.token'), 'r') as fh: | |
circle_token = fh.read().strip() |
This file contains 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
""" | |
Replaces unittest style asserts (e.g.: self.assertEqual) with py.test style asserts | |
Usage: | |
from lib2to3.refactor import RefactoringTool | |
refactoring_tool = RefactoringTool(['fix_pytest']) | |
refactoring_tool.refactor(['input.py'], write=True) | |
""" |