Skip to content

Commit

Permalink
Cleanup: Remove unused code and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
unho committed Sep 7, 2017
1 parent 02b180c commit d9a6343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions translate/convert/test_po2yaml.py
Expand Up @@ -6,12 +6,10 @@

from translate.convert import po2yaml, test_convert
from translate.misc import wStringIO
from translate.storage import po, yaml


class TestPO2YAML(object):
StoreClass = po.pofile
TargetStoreClass = yaml.YAMLFile

ConverterClass = po2yaml.po2yaml

def _convert(self, po_input_source, format_template_source=None,
Expand Down
4 changes: 1 addition & 3 deletions translate/convert/test_yaml2po.py
Expand Up @@ -4,12 +4,10 @@

from translate.convert import yaml2po, test_convert
from translate.misc import wStringIO
from translate.storage import po, yaml


class TestYAML2PO(object):
StoreClass = yaml.YAMLFile
TargetStoreClass = po.pofile

ConverterClass = yaml2po.yaml2po

def _convert(self, format_input_source, format_template_source=None):
Expand Down

0 comments on commit d9a6343

Please sign in to comment.