1. Chris Mutel
  2. brightway2-data

Commits

Chris Mutel  committed d6b7561

Small cleanups

  • Participants
  • Parent commits 8d86ca5
  • Branches default

Comments (0)

Files changed (6)

File bw2data/database.py

View file
  • Ignore whitespace
 from .units import normalize_units
 from .utils import natural_sort, MAX_INT_32, TYPE_DICTIONARY, safe_filename
 from .validate import db_validator
-from time import time
 import datetime
 import numpy as np
 import os

File bw2data/io/import_ecospold2.py

View file
  • Ignore whitespace
 from .. import Database, databases, mapping
 from ..logs import get_io_logger
 from ..units import normalize_units
-from lxml import objectify, etree
+from lxml import objectify
 from stats_arrays.distributions import *
 import hashlib
 import os

File bw2data/tests/geo.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
 from . import BW2DataTest
-from .. import Database, databases, geomapping, reset_meta, config, Method
+from .. import Database, geomapping, config, Method
 from fixtures import food, biosphere
 import copy
 import numpy as np

File bw2data/tests/updates.py

View file
  • Ignore whitespace
 # -*- coding: utf-8 -*-
 from . import BW2DataTest
 from .. import Updates, config
-# from fixtures import biosphere
-# from ..utils import natural_sort, random_string, combine_methods
 import random
 
 class UpdatesTest(BW2DataTest):

File bw2data/tests/validation.py

View file
  • Ignore whitespace
 from voluptuous import Invalid
-import unittest2
+import unittest
 from ..validate import *
 
 
-class ValidationTestCase(unittest2.TestCase):
+class ValidationTestCase(unittest.TestCase):
     def test_valid_tuple(self):
         with self.assertRaises(Invalid):
             valid_tuple(())

File requirements.txt

View file
  • Ignore whitespace
 requests>=1.1.0
 scipy
 voluptuous
-brightway2
 stats_arrays
 colorama