Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
arekbulski committed Aug 26, 2016
1 parent 3136f4b commit be963ad
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/lib/test_container.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import unittest
from random import randint
from copy import copy

from construct.lib.container import Container, ListContainer
from random import randint


class TestContainer(unittest.TestCase):

Expand Down Expand Up @@ -52,8 +54,6 @@ def test_copy(self):
self.assertTrue(c is not d)

def test_copy_module(self):
from copy import copy

c = Container(a=1)
d = copy(c)
self.assertEqual(c, d)
Expand Down Expand Up @@ -122,3 +122,4 @@ class TestListContainer(unittest.TestCase):
def test_str(self):
l = ListContainer(range(5))
str(l)

0 comments on commit be963ad

Please sign in to comment.