wickman: LGTM.
diff --git a/.travis.yml b/.travis.yml
index 9b8257b..f125de6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,7 @@
 sudo: false
 
 language: python
+dist: trusty
 
 python:
   - "2.6"
diff --git a/pystachio/__init__.py b/pystachio/__init__.py
index 83a8819..fba836a 100644
--- a/pystachio/__init__.py
+++ b/pystachio/__init__.py
@@ -4,31 +4,15 @@ __license__ = 'MIT'
 
 
 import sys
-if sys.version_info < (2, 6, 5):
-  raise ImportError("pystachio requires Python >= 2.6.5")
-
 
 from .base import Environment
-from .basic import (
-    Boolean,
-    Enum,
-    Float,
-    Integer,
-    String)
-from .choice import (
-   Choice
-)
-from .composite import (
-    Default,
-    Empty,
-    Required,
-    Struct)
-from .container import (
-    List,
-    Map)
+from .basic import Boolean, Enum, Float, Integer, String
+from .choice import Choice
+from .composite import Default, Empty, Required, Struct
+from .container import List, Map
 from .naming import Namable, Ref
 from .parsing import MustacheParser
-from .typing import (
-    Type,
-    TypeCheck,
-    TypeFactory)
+from .typing import Type, TypeCheck, TypeFactory
+
+if sys.version_info < (2, 6, 5):
+  raise ImportError("pystachio requires Python >= 2.6.5")
diff --git a/pystachio/choice.py b/pystachio/choice.py
index df226bf..7aa4347 100644
--- a/pystachio/choice.py
+++ b/pystachio/choice.py
@@ -79,7 +79,7 @@ class ChoiceContainer(Object, Type):
         return False
     si, _ = self.interpolate()
     oi, _ = other.interpolate()
-    return si._value == oi._value
+    return si == oi
 
   def _unwrap(self, ret_fun, err_fun):
     """Iterate over the options in the choice type, and try to perform some
diff --git a/tox.ini b/tox.ini
index f2723cf..d176c79 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,7 +40,7 @@ deps = isort
 commands = isort -ns __init__.py -rc {toxinidir}/setup.py {toxinidir}/pystachio {toxinidir}/tests
 
 [testenv:isort-check]
-basepython = python2.7
+basepython = python3.4
 deps = isort
 commands = isort -ns __init__.py -rc -c {toxinidir}/setup.py {toxinidir}/pystachio {toxinidir}/tests
 

Choice with container equality
To reproduce:
```
c = C([1, 2, 3])
assert c == C([1, 2, 3])
```
Expected: Should be true
Result: Raises an exception
diff --git a/tests/test_choice.py b/tests/test_choice.py
index f7b08b6..0a45030 100644
--- a/tests/test_choice.py
+++ b/tests/test_choice.py
@@ -163,6 +163,7 @@ def test_choice_primlist():
   """Test that choices with a list value work correctly."""
   C = Choice([String, List(Integer)])
   c = C([1, 2, 3])
+  assert c == C([1, 2, 3])
   assert c.check().ok()
   c = C("hello")
   assert c.check().ok()

pip install -e .
parse_log_pytest
pytest
pytest pytest-cov pytest-xdist
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
coverage==6.2
execnet==1.9.0
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
-e git+https://github.com/wickman/pystachio.git@601a2c36d7d67efa8f917e7cbf0ab8dc66c7827f#egg=pystachio
pytest==6.2.4
pytest-cov==4.0.0
pytest-xdist==3.0.2
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tomli==1.2.3
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: pystachio
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib-metadata=4.8.1=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - coverage==6.2
      - execnet==1.9.0
      - pytest-cov==4.0.0
      - pytest-xdist==3.0.2
      - tomli==1.2.3
prefix: /opt/conda/envs/pystachio

tests/test_choice.py::test_choice_primlist
tests/test_choice.py::test_choice_type tests/test_choice.py::test_choice_error tests/test_choice.py::test_choice_triple tests/test_choice.py::test_choice_interpolation tests/test_choice.py::test_choice_in_struct tests/test_choice.py::test_struct_in_choice_in_struct tests/test_choice.py::test_json_choice tests/test_choice.py::test_choice_string_enum tests/test_choice.py::test_choice_default tests/test_choice.py::test_repr tests/test_choice.py::test_choice_in_stache tests/test_choice.py::test_get_choice_in_struct tests/test_choice.py::test_hashing
pystachio/choice.py .travis.yml pystachio/__init__.py tox.ini
pystachio/choice.py .travis.yml pystachio/__init__.py tox.ini